Class Configuration

java.lang.Object
de.dlr.proseo.model.PersistentObject
de.dlr.proseo.model.Configuration

@Entity public class Configuration extends PersistentObject
A specific processor configuration, tied to a specific ConfiguredProcessor object. It mainly consists of a set of configuration files and template information for creating Job Order files for the associated processor.
Author:
Dr. Thomas Bassler
  • Constructor Details

    • Configuration

      public Configuration()
  • Method Details

    • getProcessorClass

      public ProcessorClass getProcessorClass()
      Gets the associated processor class
      Returns:
      the configuredProcessor
    • setProcessorClass

      public void setProcessorClass(ProcessorClass processorClass)
      Sets the associated processor class
      Parameters:
      processorClass - the processorClass to set
    • getConfiguredProcessors

      public Set<ConfiguredProcessor> getConfiguredProcessors()
      Gets the associated configured processors
      Returns:
      the configuredProcessor
    • setConfiguredProcessors

      public void setConfiguredProcessors(Set<ConfiguredProcessor> configuredProcessors)
      Sets the associated configured processors
      Parameters:
      configuredProcessors - the configuredProcessors to set
    • getConfigurationVersion

      public String getConfigurationVersion()
      Gets the configuration version
      Returns:
      the configurationVersion
    • setConfigurationVersion

      public void setConfigurationVersion(String configurationVersion)
      Sets the configuration version
      Parameters:
      configurationVersion - the configurationVersion to set
    • getMode

      public String getMode()
      Gets the processing mode
      Returns:
      the processing mode
    • setMode

      public void setMode(String mode)
      Sets the processing mode
      Parameters:
      mode - the processing mode to set
    • getDynProcParameters

      public Map<String,Parameter> getDynProcParameters()
      Gets the dynamic processing parameters
      Returns:
      the dynProcParameters
    • setDynProcParameters

      public void setDynProcParameters(Map<String,Parameter> dynProcParameters)
      Sets the dynamic processing parameters
      Parameters:
      dynProcParameters - the dynProcParameters to set
    • getProductQuality

      public ProductQuality getProductQuality()
      Gets the product quality expected with this configuration
      Returns:
      the product quality
    • setProductQuality

      public void setProductQuality(ProductQuality productQuality)
      Sets the product quality expected with this configuration
      Parameters:
      productQuality - the product quality to set
    • getConfigurationFiles

      public Set<ConfigurationFile> getConfigurationFiles()
      Gets the configuration files
      Returns:
      the configurationFiles
    • setConfigurationFiles

      public void setConfigurationFiles(Set<ConfigurationFile> configurationFiles)
      Sets the configuration files
      Parameters:
      configurationFiles - the configurationFiles to set
    • getStaticInputFiles

      public Set<ConfigurationInputFile> getStaticInputFiles()
      Gets the static input files
      Returns:
      the static input files
    • setStaticInputFiles

      public void setStaticInputFiles(Set<ConfigurationInputFile> staticInputFiles)
      Sets the static input files
      Parameters:
      staticInputFiles - the static input files to set
    • getDockerRunParameters

      public Map<String,String> getDockerRunParameters()
      Gets the configuration-specific "docker run" parameters
      Returns:
      the dockerRunParameters
    • setDockerRunParameters

      public void setDockerRunParameters(Map<String,String> dockerRunParameters)
      Sets the configuraiton-specific "docker run" parameters
      Parameters:
      dockerRunParameters - the dockerRunParameters to set
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class PersistentObject
    • equals

      public boolean equals(Object obj)
      Description copied from class: PersistentObject
      Test equality of persistent objects based on their unique ID.
      Overrides:
      equals in class PersistentObject
      Parameters:
      obj - the object to compare this object to
      Returns:
      true, if obj is a persistent object and has the same ID, false otherwise
      See Also:
    • toString

      public String toString()
      Overrides:
      toString in class Object