public class GfacServerHandler extends Object implements GfacService.Iface
| Constructor and Description |
|---|
GfacServerHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancelJob(String experimentId,
String taskId)
*
* Terminate the running job.At this point user
* does not have to know the job ID so in the argument
* we do not make it to required jobID to provide.
|
String |
getAiravataUserName() |
String |
getGatewayName() |
String |
getGFACServiceVersion()
Query gfac server to fetch the CPI version
|
org.apache.airavata.registry.cpi.Registry |
getRegistry() |
String |
getRegistryURL() |
void |
setAiravataUserName(String airavataUserName) |
void |
setGatewayName(String gatewayName) |
protected void |
setGatewayProperties() |
void |
setRegistry(org.apache.airavata.registry.cpi.Registry registry) |
void |
setRegistryURL(String registryURL) |
boolean |
submitJob(String experimentId,
String taskId)
* After creating the experiment Data and Task Data in the orchestrator
* Orchestrator has to invoke this operation for each Task per experiment to run
* the actual Job related actions.
|
public String getGFACServiceVersion() throws org.apache.thrift.TException
GfacService.IfacegetGFACServiceVersion in interface GfacService.Ifaceorg.apache.thrift.TExceptionpublic boolean submitJob(String experimentId, String taskId) throws org.apache.thrift.TException
GfacService.IfacesubmitJob in interface GfacService.Ifaceorg.apache.thrift.TExceptionpublic boolean cancelJob(String experimentId, String taskId) throws org.apache.thrift.TException
GfacService.IfacecancelJob in interface GfacService.Ifaceorg.apache.thrift.TExceptionpublic org.apache.airavata.registry.cpi.Registry getRegistry()
public void setRegistry(org.apache.airavata.registry.cpi.Registry registry)
public String getRegistryURL()
public void setRegistryURL(String registryURL)
public String getGatewayName()
public void setGatewayName(String gatewayName)
public String getAiravataUserName()
public void setAiravataUserName(String airavataUserName)
protected void setGatewayProperties()
throws org.apache.airavata.common.exception.ApplicationSettingsException
org.apache.airavata.common.exception.ApplicationSettingsExceptionCopyright © 2011-2014 The Apache Software Foundation. All Rights Reserved.