Klasse Conf

java.lang.Object
de.dlr.proseo.model.joborder.Conf

public class Conf extends Object
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
  • 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 set
      version - the version to set
      stdoutLogLevel - the log level for stdout to set
      stderrLogLevel - the log level for stderr to set
      test - the test flag to set ("true" or "false")
      breakpointEnable - the breakpoint enablement flag to set ("true" or "false")
      processingStation - the processing station to set
      acquisitionStation - the acquisition station to set
  • Methodendetails

    • getProcessorName

      public String getProcessorName()
      Gets the Processor_Name element
      Gibt zurück:
      the processor name
    • setProcessorName

      public void setProcessorName(String processorName)
      Sets the Processor_Name element
      Parameter:
      processorName - the processor name to set
    • getVersion

      public String getVersion()
      Gets the Version element
      Gibt zurück:
      the version
    • setVersion

      public void setVersion(String version)
      Sets the Version element
      Parameter:
      version - the version to set
    • getStdoutLogLevel

      public String getStdoutLogLevel()
      Gets the Stdout_Log_Level element
      Gibt zurück:
      the log level for stdout
    • setStdoutLogLevel

      public void setStdoutLogLevel(String stdoutLogLevel)
      Sets the Stdout_Log_Level element
      Parameter:
      stdoutLogLevel - the log level for stdout to set
    • getStderrLogLevel

      public String getStderrLogLevel()
      Gets the Stderr_Log_Level element
      Gibt zurück:
      the log level for stderr
    • setStderrLogLevel

      public void setStderrLogLevel(String stderrLogLevel)
      Sets the Stderr_Log_Level element
      Parameter:
      stderrLogLevel - the log level for stderr to set
    • getTest

      public String getTest()
      Gets the Test element
      Gibt zurück:
      the test flag
    • setTest

      public void setTest(String test)
      Sets the Test element
      Parameter:
      test - the test flag to set ("true" or "false")
    • getBreakpointEnable

      public String getBreakpointEnable()
      Gets the Breakpoint_Enable element
      Gibt zurück:
      the breakpoint enablement flag
    • setBreakpointEnable

      public void setBreakpointEnable(String breakpointEnable)
      Sets the Breakpoint_Enable element
      Parameter:
      breakpointEnable - the breakpoint enablement flag to set ("true" or "false")
    • getProcessingStation

      public String getProcessingStation()
      Gets the Processing_Station element
      Gibt zurück:
      the processing station
    • setProcessingStation

      public void setProcessingStation(String processingStation)
      Sets the Processing_Station element
      Parameter:
      processingStation - the processing station to set
    • getAcquisitionStation

      public String getAcquisitionStation()
      Gets the Acquisition_Station element
      Gibt zurück:
      the acquisition station
    • setAcquisitionStation

      public void setAcquisitionStation(String acquisitionStation)
      Sets the Acquisition_Station element
      Parameter:
      acquisitionStation - the acquisition station to set
    • getSensingTime

      public SensingTime getSensingTime()
      Gets the Sensing_Time element
      Gibt zurück:
      the sensing time
    • setSensingTime

      public void setSensingTime(SensingTime sensingTime)
      Sets the Sensing_Time element
      Parameter:
      sensingTime - the sensing time to set
    • getConfigFileNames

      public List<String> getConfigFileNames()
      Gets the Config_File_Name values for the Config_Files element
      Gibt zurück:
      the configuration file names
    • setConfigFileNames

      public void setConfigFileNames(List<String> configFileNames)
      Sets the Config_File_Name values for the Config_Files element
      Parameter:
      configFileNames - the configuration file names to set
    • getDynamicProcessingParameters

      public List<ProcessingParameter> getDynamicProcessingParameters()
      Gets the Processing_Parameter values for the Dynamic_Processing_Parameters element
      Gibt zurück:
      the dynamic processing parameters
    • setDynamicProcessingParameters

      public void setDynamicProcessingParameters(List<ProcessingParameter> dynamicProcessingParameters)
      Sets the Processing_Parameter values for the Dynamic_Processing_Parameters element
      Parameter:
      dynamicProcessingParameters - the dynamic processing parameters to set
    • getProcessingParametersByName

      public List<ProcessingParameter> getProcessingParametersByName(String name)
      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 set
      value - 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 use
      parentElement - the node to add this as child to
      jobOrderVersion - the Job Order file specification version to apply
      prosEOAttributes - if true, write attributes of prosEO specific data
    • read

      public void read(Node thisNode)
      Read info from XML sub tree
      Parameter:
      thisNode - XML node containing information