public class TaskStatus
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TaskStatus.State
Represents the current state of a task on the server.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCancelledBy()
Get the name of the user who cancelled the task, if different from
the user associated with this task.
|
java.lang.String |
getCurrentStep()
Get a description of current activity.
|
double |
getProgress()
Get an estimate of task completion.
|
TaskResult |
getResult()
Get the result of a completed task.
|
TaskStatus.State |
getTaskState()
Get the task's state.
|
public TaskStatus.State getTaskState()
public java.lang.String getCurrentStep()
public double getProgress()
0.0 = not started
1.0 = complete
public TaskResult getResult()
public java.lang.String getCancelledBy()