ExecutionStateEvent Objects
Indicates a state change in a task. An event is fired when a task
moves into a new state, and the new state is obtained from the event
by calling getExecutionState.
createExecutionStateEvent(handle, state) : ExecutionStateEvent
handle (ExecutionHandle) : the ExecutionHandle for
the event
state (ExecutionState) : the new execution state.
Creates a new execution state event.
e.getExecutionHandle() : ExecutionHandle
Returns the ExecutionHandle that raised the event.
e.getExecutionState() : ExecutionState
Returns the new execution state which caused this event to be raised.
The return value is one of the constants defined by
ExecutionState. Note: This
may not correspond with the state that the task is now in since a
subsequent state change may have occurred.