|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.intel.gpe.clients.api.workflow.AtomicJob
public abstract class AtomicJob
The complex action for performing an atomic job invocation.
The performed actions may be presented in a pseudo-code:
job = targetSystem.submit(jobDescription)
wait until job.status = ready or job.status = failed
if job.status = ready then
job.start
wait until job.status = successful or job.status = failed
fi
Field Summary | |
---|---|
protected java.util.Calendar |
initialTerminationTime
|
protected Job |
jobDefinition
|
Constructor Summary | |
---|---|
AtomicJob(Job jobDefinition,
java.util.Calendar initialTerminationTime,
PartnerLink targetSystem,
com.intel.gpe.util.xml.Namespaces namespaces)
Create the AtomicJob complex action. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Job jobDefinition
protected java.util.Calendar initialTerminationTime
Constructor Detail |
---|
public AtomicJob(Job jobDefinition, java.util.Calendar initialTerminationTime, PartnerLink targetSystem, com.intel.gpe.util.xml.Namespaces namespaces) throws java.lang.Exception
jobDefinition
- 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.Exception
Method Detail |
---|
protected abstract VariableValue getGetJobWorkingDirectoryResponseValue()
protected abstract PartnerLinkValue getJobManagementPartnerLinkValue()
protected abstract VariableValue getStartResponseValue()
protected abstract VariableValue getStartRequestValue()
protected abstract VariableValue getGetJobStatusResponseValue()
protected abstract VariableValue getGetJobStatusRequestValue()
protected abstract VariableValue getJobStateValue()
protected abstract VariableValue getJobStatusChangeNotificationValue()
protected abstract VariableValue getSubscribeToJobStatusChangeNotificationResponseValue()
protected abstract VariableValue getSubscribeToJobStatusChangeNotificationRequestValue()
protected abstract VariableValue getSubmitJobResponseValue()
protected abstract VariableValue getSubmitJobRequestValue()
protected abstract java.lang.String getWSNotificationsSchemaNS()
protected abstract java.lang.String getJobManagementNS()
protected abstract java.lang.String getWSNotificationsWSDLNS()
protected abstract java.lang.String getTargetSystemNS()
protected abstract javax.xml.namespace.QName getNotificationConsumerPortType()
protected abstract javax.xml.namespace.QName getJobManagementPortType()
protected abstract javax.xml.namespace.QName getGetResourcePropertyPortType()
protected abstract javax.xml.namespace.QName getNotificationProducerPortType()
protected abstract javax.xml.namespace.QName getTargetSystemPortType()
protected abstract java.lang.String getBPEL4WSNS()
protected abstract java.lang.String getJSDLNS()
protected abstract java.lang.String getUnigridsNS()
public Variable getSubmitJobRequest()
public Variable getSubmitJobResponse()
public Variable getGetJobStateRequest()
public Variable getGetJobStateResponse()
public Variable getGetJobWorkingDirectoryResponse()
public PartnerLink getJobManagement()
public Variable getJobState()
public Variable getJobStatusChangeNotification()
public com.intel.gpe.util.xml.Namespaces getNamespaces()
public Variable getStartJobRequest()
public Variable getStartJobResponse()
public Variable getSubscribeToJobStatusChangeNotificationsRequest()
public Variable getSubscribeToJobStatusChangeNotificationsResponse()
public PartnerLink getTargetSystem()
public void emitCode(Scope scope, org.w3c.dom.Element target) throws java.lang.Exception
Action
emitCode
in interface Action
scope
- The variable scope of the workflowtarget
- The XML DOM element to append the action code to
java.lang.Exception
- In a case of errorpublic Variable getJobDefinition()
public PartnerLink getJobManagementPartnerLink()
public Variable getWorkingDirectory()
public Variable getJobStatus()
public void setTargetSystem(PartnerLink targetSystem)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |