|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GPEWorkflowJob
The extension of WorkflowJob with
factory methods for creating some workflow actions.
Each GPEWorkflowJob has associated workflow and its root action.
| Method Summary | |
|---|---|
Action |
getAction()
Get the root action. |
javax.xml.namespace.QName |
getExecutionJSDLPropertyName()
Get the QName of the jms:ExecutionJSDL property |
java.lang.String |
getJobManagementNS()
Get the namespace of the atomic job management service |
javax.xml.namespace.QName |
getJobManagementPortType()
Get the QName of the JobManagement port type |
javax.xml.namespace.QName |
getJobStatusPropertyName()
Get the QName of the jms:Status resource property of the JobManagement resource |
java.lang.String |
getJSDLNS()
Get the JSDL namespace |
Variable |
getStatusVariable()
Get the variable which is used to store the status of the GPEWorkflowJob |
java.lang.String |
getTargetSystemNS()
Get the namespace of the atomic target system service |
javax.xml.namespace.QName |
getTargetSystemPortType()
Get the QName of the TargetSystem port type |
javax.xml.namespace.QName |
getTargetSystemReferencePropertyName()
Get the QName of the jms:TargetSystemReference property |
java.lang.String |
getUnigridsNS()
Get the unigrids namespace |
Workflow |
getWorkflow()
Get the workflow. |
javax.xml.namespace.QName |
getWorkingDirectoryReferencePropertyName()
Get the QName of jms:WorkingDirectoryReference property |
AtomicJob |
newAtomicJob(JSDLJob job,
java.util.Calendar initialTerminationTime,
PartnerLink targetSystem,
com.intel.gpe.util.xml.Namespaces namespaces)
Create the AtomicJob action. |
GPEJob |
newAtomicJobDefinition(java.lang.String jobDefinition)
Return the job definition template of the certain job definition type. |
DataStagingSetup |
newDataStagingSetup(java.util.List<java.lang.String> protocols,
com.intel.gpe.util.xml.Namespaces namespaces)
Create the data staging setup object that will query storage resources for the listed protocols |
DataStagingSetup |
newDataStagingSetup(com.intel.gpe.util.xml.Namespaces namespaces)
Create the data staging setup object that will query storage resources for all protocols supported by the client |
Destroy |
newDestroy(PartnerLink resource,
com.intel.gpe.util.xml.Namespaces namespaces)
Create the Destroy action. |
FileImport |
newFileImport(PartnerLink storage,
java.lang.String protocol,
java.lang.String file,
com.intel.gpe.util.xml.Namespaces namespaces)
Create the FileImport action |
GetResourceProperty |
newGetResourceProperty(javax.xml.namespace.QName property,
PartnerLink resource,
Variable response,
com.intel.gpe.util.xml.Namespaces namespaces)
Create the GetResourceProperty action |
GPEJob |
newGPEJob()
Create the new empty GPEJob |
VariableValue |
newJobStartRequestValue()
Create the variable value containing the StartRequest message |
ListDirectory |
newListDirectory(PartnerLink storage,
Variable directoryPath,
Variable includes,
Variable excludes,
com.intel.gpe.util.xml.Namespaces namespaces)
Create the ListDirectory action. |
ListFileProperties |
newListFileProperties(PartnerLink storage,
Variable filePath,
Variable gridFile,
com.intel.gpe.util.xml.Namespaces namespaces)
Create the ListFileProperties action. |
Pick.OnMessage |
newNotificationHandler(PartnerLink partnerLink,
Variable variable,
Action body,
com.intel.gpe.util.xml.Namespaces namespaces)
Create the handler of ws-bn:Notify messages. |
PartnerLinkValue |
newPartnerLinkValue()
Produce new empty PartnerLinkValue object. |
PartnerLinkValue |
newPartnerLinkValue(WSRFClient client)
Produce new PartnerLinkValue object containing the reference to the supplied WSRF resource. |
VariableValue |
newStatusValue(java.lang.String string)
Create the value of type unigrids:StatusType |
VariableValue |
newSubmitValue(GPEJob jobTemplate,
java.util.Calendar terminationTime)
Create the value for the SubmitRequest message |
VariableValue |
newVariableValue()
Produce new empty VariableValue object. |
VariableValue |
newVariableValue(org.w3c.dom.Element value)
Produce new VariableValue object containing the supplied element. |
VariableValue |
newVariableValue(java.lang.String string)
Create the variable value containing the supplied string |
Workflow |
newWorkflow(com.intel.gpe.util.xml.Namespaces namespaces)
Create the new Workflow with the supplied namespaces |
void |
setStatusVariable(Variable var)
Set the variable which is used to store the status of the GPEWorkflowJob |
| Methods inherited from interface com.intel.gpe.clients.api.workflow.WorkflowJob |
|---|
addPartnerLink, addVariable, addWSDLReference, getVariables, getWSDLReferences, setProcess, setWorkingDirectory |
| Method Detail |
|---|
Workflow getWorkflow()
Action getAction()
VariableValue newVariableValue()
VariableValue object.
VariableValue newVariableValue(org.w3c.dom.Element value)
VariableValue object containing the supplied element.
value - The element to put as the value
PartnerLinkValue newPartnerLinkValue()
PartnerLinkValue object.
PartnerLinkValue newPartnerLinkValue(WSRFClient client)
PartnerLinkValue object containing the reference to the supplied WSRF resource.
client - The GPE client object pointing to the WSRF resource
Workflow newWorkflow(com.intel.gpe.util.xml.Namespaces namespaces)
Workflow with the supplied namespaces
namespaces - The initial namespaces collection
GPEJob newGPEJob()
GPEJob
VariableValue newSubmitValue(GPEJob jobTemplate,
java.util.Calendar terminationTime)
jobTemplate - The job description to submitterminationTime - - initial termination time
VariableValue newStatusValue(java.lang.String string)
string - The value of the status
GetResourceProperty newGetResourceProperty(javax.xml.namespace.QName property,
PartnerLink resource,
Variable response,
com.intel.gpe.util.xml.Namespaces namespaces)
GetResourceProperty action
property - The name of the propertyresource - The partner link to the resourceresponse - The variable where to store the responsenamespaces - The namespaces
VariableValue newJobStartRequestValue()
javax.xml.namespace.QName getJobManagementPortType()
QName of the JobManagement port type
javax.xml.namespace.QName getTargetSystemPortType()
QName of the TargetSystem port type
javax.xml.namespace.QName getJobStatusPropertyName()
QName of the jms:Status resource property of the JobManagement resource
java.lang.String getTargetSystemNS()
java.lang.String getJobManagementNS()
java.lang.String getUnigridsNS()
VariableValue newVariableValue(java.lang.String string)
string - The string
DataStagingSetup newDataStagingSetup(com.intel.gpe.util.xml.Namespaces namespaces)
namespaces - The namespaces
DataStagingSetup newDataStagingSetup(java.util.List<java.lang.String> protocols,
com.intel.gpe.util.xml.Namespaces namespaces)
protocols - The protocols to querynamespaces - The namespaces
Destroy newDestroy(PartnerLink resource,
com.intel.gpe.util.xml.Namespaces namespaces)
Destroy action.
resource - The partner link to the resource to be destroyednamespaces - The namespaces
AtomicJob newAtomicJob(JSDLJob job,
java.util.Calendar initialTerminationTime,
PartnerLink targetSystem,
com.intel.gpe.util.xml.Namespaces namespaces)
throws java.lang.Exception
AtomicJob action.
job - The definition of the jobinitialTerminationTime - The initial termination time for the created job resourcetargetSystem - The target system where to submit the job tonamespaces - The currently defined namespaces
java.lang.ExceptionGPEJob newAtomicJobDefinition(java.lang.String jobDefinition)
jobDefinition - The job definition type
ListFileProperties newListFileProperties(PartnerLink storage,
Variable filePath,
Variable gridFile,
com.intel.gpe.util.xml.Namespaces namespaces)
ListFileProperties action.
storage - The storage management resourcefilePath - The variable in which the path to the remote file is storedgridFile - The variable where to store the returned GridFile structurenamespaces - The namespaces
ListDirectory newListDirectory(PartnerLink storage,
Variable directoryPath,
Variable includes,
Variable excludes,
com.intel.gpe.util.xml.Namespaces namespaces)
ListDirectory action.
storage - The partner link to the storage resourcedirectoryPath - The variable in which the path to the remote directory is storedmask - The mask to filter filesnamespaces - The namespacesvoid setStatusVariable(Variable var)
var - The variable to store the statusVariable getStatusVariable()
Pick.OnMessage newNotificationHandler(PartnerLink partnerLink,
Variable variable,
Action body,
com.intel.gpe.util.xml.Namespaces namespaces)
Pick.
partnerLink - the partner link that is used to receive the notificationvariable - the variable where the received message is storedbody - the actions executed after a message is receivednamespaces - the namespaces
FileImport newFileImport(PartnerLink storage,
java.lang.String protocol,
java.lang.String file,
com.intel.gpe.util.xml.Namespaces namespaces)
FileImport action
storage - The storage management resourceprotocol - The protocolfile - The file pathnamespaces - The namespaces
javax.xml.namespace.QName getExecutionJSDLPropertyName()
QName of the jms:ExecutionJSDL property
javax.xml.namespace.QName getTargetSystemReferencePropertyName()
QName of the jms:TargetSystemReference property
java.lang.String getJSDLNS()
javax.xml.namespace.QName getWorkingDirectoryReferencePropertyName()
QName of jms:WorkingDirectoryReference property
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||