gr.uoa.di.madgik.workflow.directory
Class ExecutionObserver

java.lang.Object
  extended by gr.uoa.di.madgik.workflow.directory.ExecutionObserver
All Implemented Interfaces:
Observer

public class ExecutionObserver
extends Object
implements Observer


Constructor Summary
ExecutionObserver(String ExecutionID, ExecutionDirectory.DirectoryEntryType Type, long Lease, gr.uoa.di.madgik.execution.engine.ExecutionHandle Handle, IWorkflowAdaptor Adaptor)
           
ExecutionObserver(String ExecutionID, ExecutionDirectory.DirectoryEntryType Type, long Lease, gr.uoa.di.madgik.execution.engine.ExecutionHandle Handle, IWorkflowAdaptor Adaptor, boolean reportMessages)
           
ExecutionObserver(String ExecutionID, ExecutionDirectory.DirectoryEntryType Type, long Lease, gr.uoa.di.madgik.execution.engine.ExecutionHandle Handle, IWorkflowAdaptor Adaptor, boolean reportMessages, Object synchCompletion)
           
 
Method Summary
 void Cleanup()
           
 IWorkflowAdaptor GetAdaptor()
           
 List<gr.uoa.di.madgik.execution.event.ExecutionStateEvent> GetEvents()
           
 gr.uoa.di.madgik.execution.engine.ExecutionHandle GetExecutionHandle()
           
 String GetExecutionID()
           
 long GetLease()
           
 ExecutionDirectory.DirectoryEntryType GetWorkflowType()
           
 boolean HasPerformedStorageSystermCleanup()
           
 boolean IsCompleted()
           
 void PerformedStorageSystermCleanup()
           
 boolean ShouldCleanup()
           
 void update(Observable o, Object arg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutionObserver

public ExecutionObserver(String ExecutionID,
                         ExecutionDirectory.DirectoryEntryType Type,
                         long Lease,
                         gr.uoa.di.madgik.execution.engine.ExecutionHandle Handle,
                         IWorkflowAdaptor Adaptor)

ExecutionObserver

public ExecutionObserver(String ExecutionID,
                         ExecutionDirectory.DirectoryEntryType Type,
                         long Lease,
                         gr.uoa.di.madgik.execution.engine.ExecutionHandle Handle,
                         IWorkflowAdaptor Adaptor,
                         boolean reportMessages)

ExecutionObserver

public ExecutionObserver(String ExecutionID,
                         ExecutionDirectory.DirectoryEntryType Type,
                         long Lease,
                         gr.uoa.di.madgik.execution.engine.ExecutionHandle Handle,
                         IWorkflowAdaptor Adaptor,
                         boolean reportMessages,
                         Object synchCompletion)
Method Detail

HasPerformedStorageSystermCleanup

public boolean HasPerformedStorageSystermCleanup()

PerformedStorageSystermCleanup

public void PerformedStorageSystermCleanup()

GetAdaptor

public IWorkflowAdaptor GetAdaptor()

GetExecutionHandle

public gr.uoa.di.madgik.execution.engine.ExecutionHandle GetExecutionHandle()

GetWorkflowType

public ExecutionDirectory.DirectoryEntryType GetWorkflowType()

GetExecutionID

public String GetExecutionID()

GetLease

public long GetLease()

ShouldCleanup

public boolean ShouldCleanup()

IsCompleted

public boolean IsCompleted()

GetEvents

public List<gr.uoa.di.madgik.execution.event.ExecutionStateEvent> GetEvents()

update

public void update(Observable o,
                   Object arg)
Specified by:
update in interface Observer

Cleanup

public void Cleanup()


Copyright © 2012. All Rights Reserved.