public interface Task<V> extends com.google.common.util.concurrent.ListenableFuture<V>, ProgressObservable
Modifier and Type | Interface and Description |
---|---|
static class |
Task.State
Represents the state of a task.
|
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getCreationDate()
Get the time at which the task was created.
|
java.lang.String |
getName()
Get the name of the task so it can be printed to the user.
|
java.lang.Object |
getOwner()
Get the owner of the task.
|
Task.State |
getState()
Get the state of the task.
|
java.util.UUID |
getUniqueId()
Get the unique ID of this task.
|
getProgress
java.util.UUID getUniqueId()
java.lang.String getName()
@Nullable java.lang.Object getOwner()
null
Task.State getState()
java.util.Date getCreationDate()