public interface TaskStatus extends CancellableTask, Observable
Modifier and Type | Method and Description |
---|---|
String |
getCode()
Gte the code of this TaskStatus.
|
int |
getCompleted()
Retorna el porcentaje de completitud de la tarea asociada
a este TaskStatus.
|
String |
getLabel()
Get a label that represent the status of the task
|
Date |
getLastModification()
Returns date of last modificaction of status.
|
TaskStatusManager |
getManager()
Return the TaskStatusManager associated to this TaskStatus.
|
String |
getTitle()
Get the title associated to the task of this TaskStatus
|
boolean |
isAborted()
Return true if the task has terminated with errors.
|
boolean |
isCancellable()
Return true if the task associated to this
TaskStatus can be canceled.
|
boolean |
isCancelled()
Return true if the task has cancelled by the
user or another task.
|
boolean |
isIndeterminate()
Return true if the completion of this task
can't calculate.
|
boolean |
isRunning()
Return true if the task is running.
|
cancelRequest, isCancellationRequested
addObserver, deleteObserver, deleteObservers
String getTitle()
String getCode()
int getCompleted()
String getLabel()
boolean isCancelled()
boolean isAborted()
boolean isRunning()
Date getLastModification()
TaskStatusManager getManager()
boolean isIndeterminate()
boolean isCancellable()