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

java.lang.Object
  extended byorg.globus.cog.karajan.workflow.remote.ProjectNodeWrapper
All Implemented Interfaces:
EventListener

public class ProjectNodeWrapper
extends Object
implements EventListener


Field Summary
static int IGNORE_ERROR
           
static int PROPAGATE_ERROR
           
static int RESTART
           
 
Constructor Summary
ProjectNodeWrapper()
           
 
Method Summary
 String checkpointNow(String id)
           
 void event(Event e)
           
 Object[] getElementStates(String id)
           
 String getError(String id)
           
 Object[] getErrors(String id)
           
 Object[] getStatus(String id)
           
 String getStdout(String id)
           
 String getStdoutLocation(String id)
           
 void handleError(String id, int errorId, int action)
           
 boolean isRunning(String id)
           
 void setCredential(String id, org.apache.axis.types.HexBinary data)
           
 void setWorkflow(String id, String workflow, boolean interceptErrors)
           
 void start(String id)
           
 void stop(String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESTART

public static final int RESTART
See Also:
Constant Field Values

IGNORE_ERROR

public static final int IGNORE_ERROR
See Also:
Constant Field Values

PROPAGATE_ERROR

public static final int PROPAGATE_ERROR
See Also:
Constant Field Values
Constructor Detail

ProjectNodeWrapper

public ProjectNodeWrapper()
Method Detail

setWorkflow

public void setWorkflow(String id,
                        String workflow,
                        boolean interceptErrors)
                 throws Exception
Throws:
Exception

setCredential

public void setCredential(String id,
                          org.apache.axis.types.HexBinary data)
                   throws Exception
Throws:
Exception

getStdoutLocation

public String getStdoutLocation(String id)
                         throws Exception
Throws:
Exception

getStdout

public String getStdout(String id)
                 throws Exception
Throws:
Exception

checkpointNow

public String checkpointNow(String id)
                     throws Exception
Throws:
Exception

getElementStates

public Object[] getElementStates(String id)

start

public void start(String id)
           throws Exception
Throws:
Exception

stop

public void stop(String id)
          throws Exception
Throws:
Exception

getErrors

public Object[] getErrors(String id)
                   throws Exception
Throws:
Exception

isRunning

public boolean isRunning(String id)

getStatus

public Object[] getStatus(String id)
                   throws Exception
Throws:
Exception

getError

public String getError(String id)

handleError

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

event

public void event(Event e)
           throws ExecutionException
Specified by:
event in interface EventListener
Throws:
ExecutionException