T
- task typepublic interface PlatformTask<T>
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancels the task.
|
T |
getObject()
Deprecated.
|
@Deprecated T getObject()
void cancel()
java.lang.IllegalArgumentException
- if the task is not cancellable