|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorkflowEventListener
Implementations express an interest in events produced during the lifecycle of an enactor instance including but not limited to workflow creation and process reports
WorkflowEventAdapter
Method Summary | |
---|---|
void |
collectionConstructed(CollectionConstructionEvent e)
Called when a data item is wrapped up inside a default collection prior to being passed to a service expecting a higher cardinality version of the same input type |
void |
dataChanged(UserChangedDataEvent e)
Called when a user changes intemediate data (output). |
void |
nestedWorkflowCompleted(NestedWorkflowCompletionEvent e)
Called when a nested workflow instance has completed its invocation successfully. |
void |
nestedWorkflowCreated(NestedWorkflowCreationEvent e)
Called when a nested workflow instance is created and about to be invoked by the enactor instance. |
void |
nestedWorkflowFailed(NestedWorkflowFailureEvent e)
Called when a nested workflow fails. |
void |
processCompleted(ProcessCompletionEvent e)
Called when an individual processor within a workflow completes its invocation successfuly. |
void |
processCompletedWithIteration(IterationCompletionEvent e)
Called when the iteration stage of the processor is completed the event carries details of the LSIDs of the component results which are now integrated into the result of the process |
void |
processFailed(ProcessFailureEvent e)
Called when a process fails - typically this will be followed by a WorkflowFailed event. |
void |
workflowCompleted(WorkflowCompletionEvent e)
Called when a previously scheduled workflow completes successfuly. |
void |
workflowCreated(WorkflowCreationEvent e)
Called when a workflow instance has been submitted along with associated input data to an enactor instance. |
void |
workflowDestroyed(WorkflowDestroyedEvent event)
This event is sent after workflowInstance.destroy() has been called. |
void |
workflowFailed(WorkflowFailureEvent e)
Called when a workflow instance fails for some reason |
void |
workflowToBeDestroyed(WorkflowToBeDestroyedEvent event)
Called right before workflowInstance.destroy() is to be called. |
Method Detail |
---|
void workflowCreated(WorkflowCreationEvent e)
void workflowFailed(WorkflowFailureEvent e)
void workflowCompleted(WorkflowCompletionEvent e)
void nestedWorkflowFailed(NestedWorkflowFailureEvent e)
void nestedWorkflowCreated(NestedWorkflowCreationEvent e)
void nestedWorkflowCompleted(NestedWorkflowCompletionEvent e)
e
- void processCompleted(ProcessCompletionEvent e)
void processCompletedWithIteration(IterationCompletionEvent e)
void processFailed(ProcessFailureEvent e)
void dataChanged(UserChangedDataEvent e)
void collectionConstructed(CollectionConstructionEvent e)
void workflowToBeDestroyed(WorkflowToBeDestroyedEvent event)
This is your last chance to access the workflow instance before it becomes unusable. workflowDestroyed(WorkflowDestroyedEvent) will be called after destroy() has been invoked, but at that point it will be too late to access the instance.
Note: This is the last chance to access workflowInstance before it is destroyed. If you have your own references to the instance or any of the data of workflowInstance (such as the input map), this is the time to remove such references.
void workflowDestroyed(WorkflowDestroyedEvent event)
This is the last message you receive about this workflow instance, which by now should not be accessed anymore.
event.getWorkflowInstance() on this event will therefore always return null, but you can access what would have been the result of workflowInstance.getID() by calling event.getWorkflowInstanceID().
If you would like to access the instance before it has been destroyed, do so from workflowToBeDestroyed(WorkflowToBeDestroyedEvent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |