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

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

public class WorkflowToBeDestroyedEvent
extends WorkflowInstanceEvent

This event is sent right before workflowInstance.destroy() is to be called.

This is your last chance to access the workflow instance before it will become unusable. The event WorkflowDestroyedEvent will be sent after destroy() has been called, but you can no longer access the instance then.

Author:
Stian Soiland
See Also:
WorkflowDestroyedEvent

Constructor Summary
WorkflowToBeDestroyedEvent(WorkflowInstance workflow)
           
 
Method Summary
 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

WorkflowToBeDestroyedEvent

public WorkflowToBeDestroyedEvent(WorkflowInstance workflow)
Method Detail

toString

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