|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.embl.ebi.escience.scufl.enactor.implementation.WorkflowEventDispatcher
public class WorkflowEventDispatcher
The dispatcher class for workflow events, create one of these per enactor instance and use it to push workflow life cycle events out to interested parties.
| Field Summary | |
|---|---|
static WorkflowEventDispatcher |
DISPATCHER
|
| Constructor Summary | |
|---|---|
WorkflowEventDispatcher(boolean loadFromSPI)
Create a new workflow event dispatcher. |
|
| Method Summary | |
|---|---|
void |
addListener(WorkflowEventListener listener)
|
void |
fireCollectionConstructed(CollectionConstructionEvent e)
Deprecated. |
void |
fireEvent(WorkflowInstanceEvent event)
Fire an event. |
void |
fireIterationCompleted(IterationCompletionEvent e)
Deprecated. |
void |
fireNestedWorkflowCompleted(NestedWorkflowCompletionEvent e)
Deprecated. |
void |
fireNestedWorkflowCreated(NestedWorkflowCreationEvent e)
Deprecated. |
void |
fireNestedWorkflowFailed(NestedWorkflowFailureEvent e)
Deprecated. |
void |
fireProcessCompleted(ProcessCompletionEvent e)
Deprecated. |
void |
fireProcessFailed(ProcessFailureEvent e)
Deprecated. |
void |
fireUserChangedData(UserChangedDataEvent e)
Deprecated. |
void |
fireWorkflowCompleted(WorkflowCompletionEvent e)
Deprecated. |
void |
fireWorkflowCreated(WorkflowCreationEvent e)
Deprecated. |
void |
fireWorkflowFailed(WorkflowFailureEvent e)
Deprecated. |
void |
removeListener(WorkflowEventListener listener)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static WorkflowEventDispatcher DISPATCHER
| Constructor Detail |
|---|
public WorkflowEventDispatcher(boolean loadFromSPI)
| Method Detail |
|---|
@Deprecated public void fireNestedWorkflowCreated(NestedWorkflowCreationEvent e)
@Deprecated public void fireNestedWorkflowFailed(NestedWorkflowFailureEvent e)
@Deprecated public void fireNestedWorkflowCompleted(NestedWorkflowCompletionEvent e)
@Deprecated public void fireWorkflowCreated(WorkflowCreationEvent e)
@Deprecated public void fireWorkflowFailed(WorkflowFailureEvent e)
@Deprecated public void fireWorkflowCompleted(WorkflowCompletionEvent e)
@Deprecated public void fireProcessCompleted(ProcessCompletionEvent e)
@Deprecated public void fireUserChangedData(UserChangedDataEvent e)
@Deprecated public void fireIterationCompleted(IterationCompletionEvent e)
@Deprecated public void fireProcessFailed(ProcessFailureEvent e)
@Deprecated public void fireCollectionConstructed(CollectionConstructionEvent e)
public void fireEvent(WorkflowInstanceEvent event)
Use this function instead of the numerous
fireCollectionConstructed() etc.
event - The event to firepublic void addListener(WorkflowEventListener listener)
public void removeListener(WorkflowEventListener listener)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||