|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JSDLJob
The abstraction of the JSDL job definition.
Method Summary | |
---|---|
void |
addDataStagingExportElement(java.lang.String fileSystem,
java.lang.String file,
java.lang.String uri)
Add data stage-out element |
void |
addDataStagingImportElement(java.lang.String uri,
java.lang.String fileSystem,
java.lang.String file)
Add data stage-in element. |
void |
addExtensionElement(org.w3c.dom.Element element)
Add the extension element to jsdl:JobDefinition |
ProcessorType |
getCPUArchitectureRequirements()
Get the requirements for target CPU architecture |
java.util.Collection<DataStagingElement> |
getDataStagingExportElements()
Get data stage-out elements as a collection. |
java.util.Collection<DataStagingElement> |
getDataStagingImportElements()
Get data stage-in elements as a collection. |
boolean |
getExclusiveExecutionRequirements()
Get the flag of exclusive execution |
org.w3c.dom.Element[] |
getExtensionElement(javax.xml.namespace.QName qname)
Get the extension elements from jsdl:JobDefinition by its qname |
java.lang.String |
getId()
|
RangeValueType |
getIndividualCPUCountRequirements()
Get the required CPU count per node |
RangeValueType |
getIndividualCPUSpeedRequirements()
Get the required CPU speed per node |
RangeValueType |
getIndividualDiskSpaceRequirements()
Get the required disk space per node |
RangeValueType |
getIndividualPhysicalMemoryRequirements()
Get the required RAM amount per node |
OperatingSystemRequirementsType |
getOperatingSystemRequirements()
Get the required O/S characteristics. |
RangeValueType |
getTotalCPUCountRequirements()
Get the required CPU count |
void |
setCPUArchitectureRequirements(ProcessorType cpuArchitecture)
Set the requirements for target CPU architecture |
void |
setExclusiveExecutionRequirements(boolean exclusiveExecutuion)
Set the flag of exclusive execution |
void |
setId(java.lang.String id)
Set /jsdl:Jobdefinition/@id attribute |
void |
setIndividualCPUCountRequirements(RangeValueType cpuCount)
Set required CPU count |
void |
setIndividualCPUSpeedRequirements(RangeValueType cpuSpeed)
Set the required CPU speed per node |
void |
setIndividualDiskSpaceRequirements(RangeValueType diskSpace)
Set the required disk space per node |
void |
setIndividualPhysicalMemoryRequirements(RangeValueType physicalMemory)
Set the required RAM amount per node |
void |
setOperatingSystemRequirements(OperatingSystemRequirementsType osType)
Set requirements for target O/S |
void |
setTotalCPUCountRequirements(RangeValueType cpuCount)
Set the required total CPU count |
byte[] |
toByteArray()
Get the XML representation of the JSDL document as an array of bytes |
Method Detail |
---|
void setId(java.lang.String id)
id
- The job identifierjava.lang.String getId()
void addDataStagingImportElement(java.lang.String uri, java.lang.String fileSystem, java.lang.String file)
uri
- The location of the file to stage-infileSystem
- The name of the filesystem where to put the filefile
- The local name of the file (in the working directory)void addDataStagingExportElement(java.lang.String fileSystem, java.lang.String file, java.lang.String uri)
fileSystem
- The name of the filesystem where to get the file fromfile
- The local name of the file (in the working directory)uri
- The remote location where the file is to be putjava.util.Collection<DataStagingElement> getDataStagingImportElements()
java.util.Collection<DataStagingElement> getDataStagingExportElements()
void setOperatingSystemRequirements(OperatingSystemRequirementsType osType)
osType
- - the requirements structureOperatingSystemRequirementsType getOperatingSystemRequirements()
void setCPUArchitectureRequirements(ProcessorType cpuArchitecture)
cpuArchitecture
- - the required CPU acrhitectureProcessorType getCPUArchitectureRequirements()
void setIndividualCPUCountRequirements(RangeValueType cpuCount)
cpuCount
- - the required CPU countRangeValueType getIndividualCPUCountRequirements()
void setTotalCPUCountRequirements(RangeValueType cpuCount)
cpuCount
- - the required total CPU countRangeValueType getTotalCPUCountRequirements()
void setIndividualPhysicalMemoryRequirements(RangeValueType physicalMemory)
physicalMemory
- - the required RAM amount per nodeRangeValueType getIndividualPhysicalMemoryRequirements()
void setIndividualCPUSpeedRequirements(RangeValueType cpuSpeed)
cpuSpeed
- - the required CPU speed per nodeRangeValueType getIndividualCPUSpeedRequirements()
void setIndividualDiskSpaceRequirements(RangeValueType diskSpace)
diskSpace
- - the required disk space per nodeRangeValueType getIndividualDiskSpaceRequirements()
void setExclusiveExecutionRequirements(boolean exclusiveExecutuion)
exclusiveExecutuion
- - if true
then use the target machine exclusivelyboolean getExclusiveExecutionRequirements()
byte[] toByteArray() throws java.io.IOException
java.io.IOException
void addExtensionElement(org.w3c.dom.Element element)
element
- the extension elementorg.w3c.dom.Element[] getExtensionElement(javax.xml.namespace.QName qname)
qname
- the qname of the extension element
null
if none
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |