org.globus.cog.karajan.workflow.remote
Class RemoteWorkflowClient
java.lang.Object
org.globus.cog.karajan.workflow.remote.RemoteWorkflowClient
- public class RemoteWorkflowClient
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteWorkflowClient
public RemoteWorkflowClient()
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)