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

java.lang.Object
  extended byorg.globus.cog.karajan.workflow.remote.RemoteWorkflowClient

public class RemoteWorkflowClient
extends Object


Constructor Summary
RemoteWorkflowClient()
           
 
Method Summary
 Object[] getElementStates()
           
 String getError()
           
 List getErrors()
           
 String getId()
           
 String getMain()
           
 URL getServiceURL()
           
 String getStdout()
           
 String getStdoutLocation()
           
 String getWorkflowServiceStartCommand()
           
 Object[] getWorkflowStatus()
           
 void handleError(int errorId, int action)
           
 boolean interceptErrors()
           
 boolean isRunning()
           
 ProjectNode load()
           
static void main(String[] args)
           
 void setId(String id)
           
 void setInterceptErrors(boolean interceptErrors)
           
 void setMain(String main)
           
 void setServiceURL(URL serviceURL)
           
 void setWorkflowServiceStartCommand(String workflowServiceStartCommand)
           
 void start()
           
 void startRemoteWorklfowService()
           
 void stop()
           
 void updateCredential(GlobusCredential cred)
           
 void updateCredential(GSSCredential cred)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteWorkflowClient

public RemoteWorkflowClient()
Method Detail

startRemoteWorklfowService

public void startRemoteWorklfowService()

updateCredential

public void updateCredential(GSSCredential cred)
                      throws Exception
Throws:
Exception

updateCredential

public void updateCredential(GlobusCredential cred)
                      throws Exception
Throws:
Exception

load

public ProjectNode load()
                 throws Exception
Throws:
Exception

start

public void start()
           throws Exception
Throws:
Exception

stop

public void stop()
          throws Exception
Throws:
Exception

isRunning

public boolean isRunning()
                  throws Exception
Throws:
Exception

getWorkflowStatus

public Object[] getWorkflowStatus()
                           throws Exception
Throws:
Exception

getElementStates

public Object[] getElementStates()
                          throws Exception
Throws:
Exception

getWorkflowServiceStartCommand

public String getWorkflowServiceStartCommand()

setWorkflowServiceStartCommand

public void setWorkflowServiceStartCommand(String workflowServiceStartCommand)

getStdoutLocation

public String getStdoutLocation()
                         throws Exception
Throws:
Exception

getStdout

public String getStdout()
                 throws Exception
Throws:
Exception

handleError

public void handleError(int errorId,
                        int action)
                 throws Exception
Throws:
Exception

getId

public String getId()

setId

public void setId(String id)

getMain

public String getMain()

setMain

public void setMain(String main)

getError

public String getError()
                throws Exception
Throws:
Exception

getErrors

public List getErrors()
               throws Exception
Throws:
Exception

main

public static void main(String[] args)

interceptErrors

public boolean interceptErrors()

setInterceptErrors

public void setInterceptErrors(boolean interceptErrors)

getServiceURL

public URL getServiceURL()

setServiceURL

public void setServiceURL(URL serviceURL)