Package de.dlr.proseo.model.joborder
Class JobOrder
java.lang.Object
de.dlr.proseo.model.joborder.JobOrder
Ipf_Job_Order information
For details see Generic IPF Interface Specification issue 1 revision 8 -
03/08/2009 MMFI-GSEG-EOPG-TN-07-0003
- Author:
- Ernst Melchinger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildBase64String(JobOrderVersion jobOrderVersion, Boolean prosEOAttributes) Create a Base64-coded string from the XML representation of this Job OrdergetConf()Gets the Conf Job Order elementGets the Job Order file nameGets the List_of_Ipf_Procs elementRead a Job Order from an XML-formatted stringvoidSets the Conf Job Order elementvoidsetFileName(String fileName) Sets the Job Order file namevoidsetListOfProcs(List<Proc> listOfProcs) Sets the List_of_Ipf_Procs elementwriteXML(String fileName, JobOrderVersion jobOrderVersion, Boolean prosEOAttributes) Build XML tree and write it to file named fileName.Deprecated.writeXMLToStream(OutputStream aStream, Boolean prosEOAttributes) Deprecated.writeXMLToStream(OutputStream aStream, Boolean prosEOAttributes, JobOrderVersion jobOrderVersion) Writes the content of the Job Order to an XML-formatted output stream
-
Constructor Details
-
JobOrder
Constructor with Ipf_Conf argument- Parameters:
conf- the Job Order configuration to set
-
JobOrder
public JobOrder()No-argument constructor
-
-
Method Details
-
getFileName
Gets the Job Order file name- Returns:
- the fileName
-
setFileName
Sets the Job Order file name- Parameters:
fileName- the file name to set
-
getConf
Gets the Conf Job Order element- Returns:
- the Job Order configuration
-
setConf
Sets the Conf Job Order element- Parameters:
conf- the Job Order configuration to set
-
getListOfProcs
Gets the List_of_Ipf_Procs element- Returns:
- the list of processors
-
setListOfProcs
Sets the List_of_Ipf_Procs element- Parameters:
listOfProcs- the list of processors
-
writeXML
Deprecated.UsewriteXML(String,JobOrderVersion,Boolean)insteadBuild XML tree and write it to file named fileName.- Parameters:
fileName- the file nameprosEOAttributes- if true, write attributes of prosEO specific data- Returns:
- true after success, else false
-
writeXML
Build XML tree and write it to file named fileName.- Parameters:
fileName- the file namejobOrderVersion- the Job Order file specification version to applyprosEOAttributes- if true, write attributes of prosEO specific data- Returns:
- true after success, else false
-
buildBase64String
Create a Base64-coded string from the XML representation of this Job Order- Parameters:
jobOrderVersion- the Job Order file specification version to applyprosEOAttributes- if true, write attributes of prosEO specific data- Returns:
- the Base64-coded string
-
writeXMLToStream
Deprecated.Writes the content of the Job Order to an XML-formatted output stream conforming to the MMFI_1_8 Job Order file syntax- Parameters:
aStream- the stream to write toprosEOAttributes- if true, write attributes of prosEO specific data- Returns:
- true, if the operation completed successfully, false otherwise
-
writeXMLToStream
public Boolean writeXMLToStream(OutputStream aStream, Boolean prosEOAttributes, JobOrderVersion jobOrderVersion) Writes the content of the Job Order to an XML-formatted output stream- Parameters:
aStream- the stream to write toprosEOAttributes- if true, write attributes of prosEO specific datajobOrderVersion- the Job Order file specification version to apply- Returns:
- true, if the operation completed successfully, false otherwise
-
read
Read a Job Order from an XML-formatted string- Parameters:
jobOrderString- the XML-formatted Job Order File- Returns:
- the modified Job Order object or null, if the string cannot be parsed into a Job Order object
-
writeXML(String,JobOrderVersion,Boolean)instead