public interface ExecutionContext
Modifier and Type | Interface and Description |
---|---|
static class |
ExecutionContext.State
ACTIVE - execution is started
COMPLETED - execution is completed
CANCELED - execution is canceled by user request
|
Modifier and Type | Method and Description |
---|---|
void |
addResource(CancelableResource resource)
add cancelable resource to the current execution
|
java.lang.String |
getGroup() |
java.lang.String |
getKey() |
java.util.Date |
getStartTime() |
ExecutionContext.State |
getState() |
boolean |
isCanceled() |
void |
removeResource(CancelableResource resource)
remove cancelable resource to the current execution
|
java.lang.String getKey()
java.lang.String getGroup()
java.util.Date getStartTime()
ExecutionContext.State getState()
boolean isCanceled()
void addResource(CancelableResource resource)
void removeResource(CancelableResource resource)