public class

TaskResult

extends Object
java.lang.Object
   ↳ org.apache.helix.task.TaskResult

Class Overview

The result of a task execution.

Summary

Nested Classes
enum TaskResult.Status An enumeration of status codes. 
Public Constructors
TaskResult(TaskResult.Status status, String info)
Constructs a new TaskResult.
Public Methods
String getInfo()
TaskResult.Status getStatus()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public TaskResult (TaskResult.Status status, String info)

Constructs a new TaskResult.

Parameters
status The status code.
info Information that can be interpreted by the Task implementation that constructed this object. May encode progress or check point information that can be used by the task to resume from where it left off in a previous execution.

Public Methods

public String getInfo ()

public TaskResult.Status getStatus ()

public String toString ()