Package de.dlr.proseo.model.joborder
Klasse Conf
java.lang.Object
de.dlr.proseo.model.joborder.Conf
Representation of the Ipf_Conf Job Order element
For details see Generic IPF Interface Specification issue 1 revision 8 -
03/08/2009 MMFI-GSEG-EOPG-TN-07-0003
- Autor:
- Ernst Melchinger
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class
Thrown when a request to a unique named processing parameter is executed and there is more than one parameter with the given name. -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungConf()
No-argument constructor, initializes the configuration file names and the dynamic processing parametersConf
(String processorName, String version, String stdoutLogLevel, String stderrLogLevel, String test, String breakpointEnable, String processingStation, String acquisitionStation) Constructor with arguments for all scalar attributes -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
buildXML
(Document doc, Element parentElement, JobOrderVersion jobOrderVersion, Boolean prosEOAttributes) Add contents of this to XML node parentElement.Gets the Acquisition_Station elementGets the Breakpoint_Enable elementGets the Config_File_Name values for the Config_Files elementGets the Processing_Parameter values for the Dynamic_Processing_Parameters elementGets the Processing_Parameter values for the given key (ignoring case)Gets the Processing_Station elementGets the Processor_Name elementGets the Sensing_Time elementGets the Stderr_Log_Level elementGets the Stdout_Log_Level elementgetTest()
Gets the Test elementGets the unique Processing_parameter for the given key (ignoring case)Gets the Version elementvoid
Read info from XML sub treevoid
setAcquisitionStation
(String acquisitionStation) Sets the Acquisition_Station elementvoid
setBreakpointEnable
(String breakpointEnable) Sets the Breakpoint_Enable elementvoid
setConfigFileNames
(List<String> configFileNames) Sets the Config_File_Name values for the Config_Files elementvoid
setDynamicProcessingParameters
(List<ProcessingParameter> dynamicProcessingParameters) Sets the Processing_Parameter values for the Dynamic_Processing_Parameters elementvoid
setProcessingParameterByName
(String name, String value) Sets the unique Processing_parameter for the given key (ignoring case) to the given value (parameter will be created, if necessary)void
setProcessingStation
(String processingStation) Sets the Processing_Station elementvoid
setProcessorName
(String processorName) Sets the Processor_Name elementvoid
setSensingTime
(SensingTime sensingTime) Sets the Sensing_Time elementvoid
setStderrLogLevel
(String stderrLogLevel) Sets the Stderr_Log_Level elementvoid
setStdoutLogLevel
(String stdoutLogLevel) Sets the Stdout_Log_Level elementvoid
Sets the Test elementvoid
setVersion
(String version) Sets the Version element
-
Konstruktordetails
-
Conf
public Conf()No-argument constructor, initializes the configuration file names and the dynamic processing parameters -
Conf
public Conf(String processorName, String version, String stdoutLogLevel, String stderrLogLevel, String test, String breakpointEnable, String processingStation, String acquisitionStation) Constructor with arguments for all scalar attributes- Parameter:
processorName
- the processor name to setversion
- the version to setstdoutLogLevel
- the log level for stdout to setstderrLogLevel
- the log level for stderr to settest
- the test flag to set ("true" or "false")breakpointEnable
- the breakpoint enablement flag to set ("true" or "false")processingStation
- the processing station to setacquisitionStation
- the acquisition station to set
-
-
Methodendetails
-
getProcessorName
Gets the Processor_Name element- Gibt zurück:
- the processor name
-
setProcessorName
Sets the Processor_Name element- Parameter:
processorName
- the processor name to set
-
getVersion
Gets the Version element- Gibt zurück:
- the version
-
setVersion
Sets the Version element- Parameter:
version
- the version to set
-
getStdoutLogLevel
Gets the Stdout_Log_Level element- Gibt zurück:
- the log level for stdout
-
setStdoutLogLevel
Sets the Stdout_Log_Level element- Parameter:
stdoutLogLevel
- the log level for stdout to set
-
getStderrLogLevel
Gets the Stderr_Log_Level element- Gibt zurück:
- the log level for stderr
-
setStderrLogLevel
Sets the Stderr_Log_Level element- Parameter:
stderrLogLevel
- the log level for stderr to set
-
getTest
Gets the Test element- Gibt zurück:
- the test flag
-
setTest
Sets the Test element- Parameter:
test
- the test flag to set ("true" or "false")
-
getBreakpointEnable
Gets the Breakpoint_Enable element- Gibt zurück:
- the breakpoint enablement flag
-
setBreakpointEnable
Sets the Breakpoint_Enable element- Parameter:
breakpointEnable
- the breakpoint enablement flag to set ("true" or "false")
-
getProcessingStation
Gets the Processing_Station element- Gibt zurück:
- the processing station
-
setProcessingStation
Sets the Processing_Station element- Parameter:
processingStation
- the processing station to set
-
getAcquisitionStation
Gets the Acquisition_Station element- Gibt zurück:
- the acquisition station
-
setAcquisitionStation
Sets the Acquisition_Station element- Parameter:
acquisitionStation
- the acquisition station to set
-
getSensingTime
Gets the Sensing_Time element- Gibt zurück:
- the sensing time
-
setSensingTime
Sets the Sensing_Time element- Parameter:
sensingTime
- the sensing time to set
-
getConfigFileNames
Gets the Config_File_Name values for the Config_Files element- Gibt zurück:
- the configuration file names
-
setConfigFileNames
Sets the Config_File_Name values for the Config_Files element- Parameter:
configFileNames
- the configuration file names to set
-
getDynamicProcessingParameters
Gets the Processing_Parameter values for the Dynamic_Processing_Parameters element- Gibt zurück:
- the dynamic processing parameters
-
setDynamicProcessingParameters
Sets the Processing_Parameter values for the Dynamic_Processing_Parameters element- Parameter:
dynamicProcessingParameters
- the dynamic processing parameters to set
-
getProcessingParametersByName
Gets the Processing_Parameter values for the given key (ignoring case)- Parameter:
name
- the key to search for- Gibt zurück:
- a list of processing parameters with the given key
-
getUniqueProcessingParameterByName
public ProcessingParameter getUniqueProcessingParameterByName(String name) throws Conf.NonUniqueResultException Gets the unique Processing_parameter for the given key (ignoring case)- Parameter:
name
- the key to search for- Gibt zurück:
- the single processing parameter matching the key, or null if no such parameter exists
- Löst aus:
Conf.NonUniqueResultException
- if more than one parameter with the given name exists
-
setProcessingParameterByName
public void setProcessingParameterByName(String name, String value) throws Conf.NonUniqueResultException Sets the unique Processing_parameter for the given key (ignoring case) to the given value (parameter will be created, if necessary)- Parameter:
name
- the key of the parameter to setvalue
- the new parameter value- Löst aus:
Conf.NonUniqueResultException
- if more than one parameter with the given name exists
-
buildXML
public void buildXML(Document doc, Element parentElement, JobOrderVersion jobOrderVersion, Boolean prosEOAttributes) Add contents of this to XML node parentElement. Use doc to create elements- Parameter:
doc
- the Document to useparentElement
- the node to add this as child tojobOrderVersion
- the Job Order file specification version to applyprosEOAttributes
- if true, write attributes of prosEO specific data
-
read
Read info from XML sub tree- Parameter:
thisNode
- XML node containing information
-