public interface TaskStatus
Modifier and Type | Method and Description |
---|---|
double |
getCurrentCompletionPercent()
Returns a value, 0-100.0
|
java.lang.String |
getCurrentMessage()
Returns a message that will be displayed for the current state.
|
java.lang.Long |
getId()
Returns an ID that refers to a single task.
|
java.lang.String |
getName()
Returns the user defined name of the task
|
java.util.Optional<TaskState> |
getPreviousState()
Indicates the state of a task before it got suspended.
|
java.util.Date |
getStartTime()
Returns the time that the task started, if it is currently running (or was running), or the next time the task
will run.
|
TaskState |
getState()
Indicates the current state of the task, and to some degree, indicates how getStartTime() should be interpreted.
|
TaskType |
getTaskType() |
boolean |
isOneShot()
If true, this indicates that the task will be run exactly once.
|
java.lang.Long getId()
TaskType getTaskType()
TaskState getState()
java.util.Optional<TaskState> getPreviousState()
java.lang.String getName()
java.lang.String getCurrentMessage()
double getCurrentCompletionPercent()
java.util.Date getStartTime()
boolean isOneShot()