public interface TaskStatus extends CancellableTask, Observable
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCode()
Gte the code of this TaskStatus.
|
int |
getCompleted()
Retorna el porcentaje de completitud de la tarea asociada
a este TaskStatus.
|
java.lang.String |
getLabel()
Get a label that represent the status of the task
|
java.util.Date |
getLastModification()
Returns date of last modificaction of status.
|
TaskStatusManager |
getManager()
Return the TaskStatusManager associated to this TaskStatus.
|
java.lang.String |
getMessage() |
java.lang.String |
getProgressLabel() |
java.lang.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
java.lang.String getTitle()
java.lang.String getCode()
int getCompleted()
java.lang.String getLabel()
java.lang.String getProgressLabel()
java.lang.String getMessage()
boolean isCancelled()
boolean isAborted()
boolean isRunning()
java.util.Date getLastModification()
TaskStatusManager getManager()
boolean isIndeterminate()
boolean isCancellable()