public class ExecutionStateEvent
extends java.util.EventObject
getExecutionState.| Modifier | Constructor and Description |
|---|---|
protected |
ExecutionStateEvent(ExecutionHandle handle,
ExecutionState state)
Constructs an
ExecutionStateEvent using the supplied
parameters. |
| Modifier and Type | Method and Description |
|---|---|
static ExecutionStateEvent |
createExecutionStateEvent(ExecutionHandle handle,
ExecutionState state)
Creates a new execution state event.
|
ExecutionHandle |
getExecutionHandle()
Returns the
ExecutionHandle that raised the event. |
ExecutionState |
getExecutionState()
Returns the new execution state which caused this event to be raised.
|
protected ExecutionStateEvent(ExecutionHandle handle, ExecutionState state)
ExecutionStateEvent using the supplied
parameters.handle - the ExecutionHandlestate - the new state that triggered the eventpublic static ExecutionStateEvent createExecutionStateEvent(ExecutionHandle handle, ExecutionState state)
handle - the ExecutionHandle for the eventstate - the new execution state.public ExecutionHandle getExecutionHandle()
ExecutionHandle that raised the event.ExecutionHandle that raised the eventpublic ExecutionState getExecutionState()
ExecutionState.
Note that this may not correspond with the state that the
task is now in since a subsequent state change may have occurred.Copyright © 2014 Integral Solutions Ltd. All Rights Reserved.