public interface ExecutionObserver
| Modifier and Type | Method and Description |
|---|---|
void |
executionStateChanged(ExecutionState newExecutionState,
String optionalMessage)
Called when the execution state of the associated task has changed.
|
boolean |
isCanceled()
Returns whether the task has been canceled.
|
void executionStateChanged(ExecutionState newExecutionState, String optionalMessage)
newExecutionState - the execution state the task has just switched tooptionalMessage - an optional message providing further information on the state changeboolean isCanceled()
true if the task has been canceled, false otherwiseCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.