org.globus.cog.karajan.workflow.remote
Class RemoteHook

java.lang.Object
  extended byorg.globus.cog.karajan.workflow.remote.RemoteHook
All Implemented Interfaces:
EventHook

public class RemoteHook
extends Object
implements EventHook


Field Summary
static Integer ABORTED
           
static Integer COMPLETED
           
static Integer FAILED
           
static Integer RUNNING
           
static Integer STOPPED
           
 
Constructor Summary
RemoteHook()
           
 
Method Summary
 void event(EventListener element, Event e)
           
 Hashtable getElementStates(String id)
           
 String getError(String id)
           
 String getFailureDescirption(String id, Integer failureId)
           
 List getFailureIds(String id)
           
 Hashtable getStatus(String id)
           
 int getWorkflowStatus(String id)
           
 void handleError(String id, int errorId, int action)
           
 void reset(String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STOPPED

public static final Integer STOPPED

RUNNING

public static final Integer RUNNING

COMPLETED

public static final Integer COMPLETED

FAILED

public static final Integer FAILED

ABORTED

public static final Integer ABORTED
Constructor Detail

RemoteHook

public RemoteHook()
Method Detail

event

public void event(EventListener element,
                  Event e)
Specified by:
event in interface EventHook

getElementStates

public Hashtable getElementStates(String id)

getFailureIds

public List getFailureIds(String id)

getFailureDescirption

public String getFailureDescirption(String id,
                                    Integer failureId)

getStatus

public Hashtable getStatus(String id)

getWorkflowStatus

public int getWorkflowStatus(String id)

getError

public String getError(String id)

reset

public void reset(String id)

handleError

public void handleError(String id,
                        int errorId,
                        int action)