use of org.ggf.schemas.jsdl.x2005.x11.jsdl.JobDefinitionDocument in project airavata by apache.
the class JSDLGenerator method buildJSDLInstance.
public static synchronized JobDefinitionDocument buildJSDLInstance(ProcessContext context, String smsUrl, Object jobDirectoryMode) throws Exception {
JobDefinitionDocument jobDefDoc = JobDefinitionDocument.Factory.newInstance();
JobDefinitionType value = jobDefDoc.addNewJobDefinition();
// build Identification
createJobIdentification(value, context);
ResourceProcessor.generateResourceElements(value, context);
ApplicationProcessor.generateJobSpecificAppElements(value, context);
UASDataStagingProcessor.generateDataStagingElements(value, context, smsUrl);
return jobDefDoc;
}
use of org.ggf.schemas.jsdl.x2005.x11.jsdl.JobDefinitionDocument in project airavata by apache.
the class JSDLGenerator method buildJSDLInstance.
public static synchronized JobDefinitionDocument buildJSDLInstance(ProcessContext context) throws Exception {
JobDefinitionDocument jobDefDoc = JobDefinitionDocument.Factory.newInstance();
JobDefinitionType value = jobDefDoc.addNewJobDefinition();
// build Identification
createJobIdentification(value, context);
ResourceProcessor.generateResourceElements(value, context);
ApplicationProcessor.generateJobSpecificAppElements(value, context);
return jobDefDoc;
}
use of org.ggf.schemas.jsdl.x2005.x11.jsdl.JobDefinitionDocument in project airavata by apache.
the class JSDLGenerator method buildJSDLInstance.
public static synchronized JobDefinitionDocument buildJSDLInstance(ProcessContext context, String smsUrl) throws Exception {
JobDefinitionDocument jobDefDoc = JobDefinitionDocument.Factory.newInstance();
JobDefinitionType value = jobDefDoc.addNewJobDefinition();
// build Identification
createJobIdentification(value, context);
ResourceProcessor.generateResourceElements(value, context);
ApplicationProcessor.generateJobSpecificAppElements(value, context);
UASDataStagingProcessor.generateDataStagingElements(value, context, smsUrl);
return jobDefDoc;
}
use of org.ggf.schemas.jsdl.x2005.x11.jsdl.JobDefinitionDocument in project airavata by apache.
the class JSDLGenerator method buildJSDLInstance.
public static synchronized JobDefinitionDocument buildJSDLInstance(JobExecutionContext context) throws Exception {
JobDefinitionDocument jobDefDoc = JobDefinitionDocument.Factory.newInstance();
JobDefinitionType value = jobDefDoc.addNewJobDefinition();
// build Identification
createJobIdentification(value, context);
ResourceProcessor.generateResourceElements(value, context);
ApplicationProcessor.generateJobSpecificAppElements(value, context);
return jobDefDoc;
}
use of org.ggf.schemas.jsdl.x2005.x11.jsdl.JobDefinitionDocument in project airavata by apache.
the class JSDLGenerator method buildJSDLInstance.
public static synchronized JobDefinitionDocument buildJSDLInstance(JobExecutionContext context, String smsUrl) throws Exception {
JobDefinitionDocument jobDefDoc = JobDefinitionDocument.Factory.newInstance();
JobDefinitionType value = jobDefDoc.addNewJobDefinition();
// build Identification
createJobIdentification(value, context);
ResourceProcessor.generateResourceElements(value, context);
ApplicationProcessor.generateJobSpecificAppElements(value, context);
UASDataStagingProcessor.generateDataStagingElements(value, context, smsUrl);
return jobDefDoc;
}
Aggregations