org.embl.ebi.escience.scufl.enactor.event
Class WorkflowDestroyedEvent

java.lang.Object
  extended by org.embl.ebi.escience.scufl.enactor.event.WorkflowInstanceEvent
      extended by org.embl.ebi.escience.scufl.enactor.event.WorkflowDestroyedEvent

public class WorkflowDestroyedEvent
extends WorkflowInstanceEvent

This event is sent after workflowInstance.destroy() has been called.

This is the latest message you receive about this workflow instance, which by now should no longer be accessed. getWorkflowInstance() on this event will therefore always return null, but you can access what would have been the result of workflowInstance.getID() by calling getWorkflowInstanceID().

If you would like to access the instance before it has been destroyed, look for the WorkflowDestructionEvent event instead.

Author:
Stian Soiland
See Also:
WorkflowToBeDestroyedEvent

Constructor Summary
WorkflowDestroyedEvent(java.lang.String instanceID)
           
 
Method Summary
 java.lang.String getWorkflowInstanceID()
           
 java.lang.String toString()
           
 
Methods inherited from class org.embl.ebi.escience.scufl.enactor.event.WorkflowInstanceEvent
getWorkflowInstance
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkflowDestroyedEvent

public WorkflowDestroyedEvent(java.lang.String instanceID)
Method Detail

getWorkflowInstanceID

public java.lang.String getWorkflowInstanceID()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object