Klasse Processor


@Entity public class Processor extends PersistentObject
A specific version of a ProcessorClass. Each permissible combination of a specific Processor with a specific Configuration is modelled as a ConfiguredProcessor. A Processor can consist of multiple tasks (note: for Sentinel-5P only one task per Processor is expected).
Autor:
Dr. Thomas Bassler
  • Konstruktordetails

    • Processor

      public Processor()
  • Methodendetails

    • getProcessorClass

      public ProcessorClass getProcessorClass()
      Gets the processor class
      Gibt zurück:
      the processorClass
    • setProcessorClass

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

      public Set<ConfiguredProcessor> getConfiguredProcessors()
      Gets the associated processor configurations
      Gibt zurück:
      the processor configurations for this processor
    • setConfiguredProcessors

      public void setConfiguredProcessors(Set<ConfiguredProcessor> configuredProcessors)
      Sets the associated processor configurations
      Parameter:
      configuredProcessors - the processor configurations to set
    • getProcessorVersion

      public String getProcessorVersion()
      Gets the processor version
      Gibt zurück:
      the processorVersion
    • setProcessorVersion

      public void setProcessorVersion(String processorVersion)
      Sets the processor version
      Parameter:
      processorVersion - the processorVersion to set
    • getJobOrderVersion

      public JobOrderVersion getJobOrderVersion()
      Gets the Job Order file specification version
      Gibt zurück:
      the Job Order file specification version
    • setJobOrderVersion

      public void setJobOrderVersion(JobOrderVersion jobOrderVersion)
      Sets the Job Order file specification version
      Parameter:
      jobOrderVersion - the Job Order file specification version to set
    • getUseInputFileTimeIntervals

      public Boolean getUseInputFileTimeIntervals()
      Gets the indicator for generation of input file time intervals
      Gibt zurück:
      true, if input file time intervals shall be generated for this processor, false otherwise
    • setUseInputFileTimeIntervals

      public void setUseInputFileTimeIntervals(Boolean useInputFileTimeIntervals)
      Sets the indicator for generation of input file time intervals
      Parameter:
      useInputFileTimeIntervals - set to true, if input file time intervals shall be generated for this processor, and to false otherwise
    • getIsTest

      public Boolean getIsTest()
      Checks whether this processor version is a test/evaluation version
      Gibt zurück:
      the isTest
    • isTest

      public Boolean isTest()
      Checks whether this processor version is a test/evaluation version (convenience alias for getIsTest())
      Gibt zurück:
      the isTest
    • setIsTest

      public void setIsTest(Boolean isTest)
      Sets whether this processor version is a test/evaluation version
      Parameter:
      isTest - the isTest to set
    • getMinDiskSpace

      public Integer getMinDiskSpace()
      Gets the minimum required disk space in MB
      Gibt zurück:
      the minDiskSpace
    • setMinDiskSpace

      public void setMinDiskSpace(Integer minDiskSpace)
      Sets the minimum required disk space in MB
      Parameter:
      minDiskSpace - the minDiskSpace to set
    • getMaxTime

      public Integer getMaxTime()
      Gets the maximum execution time in seconds
      Gibt zurück:
      the maxTime
    • setMaxTime

      public void setMaxTime(Integer maxTime)
      Sets the maximum execution time in seconds
      Parameter:
      maxTime - the maxTime to set
    • getSensingTimeFlag

      public Boolean getSensingTimeFlag()
      Checks whether this processor is executed on time intervals
      Gibt zurück:
      the sensingTimeFlag
    • hasSensingTimeFlag

      public Boolean hasSensingTimeFlag()
      Checks whether this processor is executed on time intervals (convenience alias for getSensingTimeFlag())
      Gibt zurück:
      the sensingTimeFlag
    • setSensingTimeFlag

      public void setSensingTimeFlag(Boolean sensingTimeFlag)
      Sets whether this processor is executed on time intervals
      Parameter:
      sensingTimeFlag - the sensingTimeFlag to set
    • getTasks

      public List<Task> getTasks()
      Gets the task list
      Gibt zurück:
      the tasks
    • setTasks

      public void setTasks(List<Task> tasks)
      Sets the task list
      Parameter:
      tasks - the tasks to set
    • getDockerImage

      public String getDockerImage()
      Gets the docker image name and tag
      Gibt zurück:
      the docker image name and tag
    • setDockerImage

      public void setDockerImage(String dockerImage)
      Sets the docker image name and tag
      Parameter:
      dockerImage - the docker image name and tag to set
    • getDockerRunParameters

      public Map<String,String> getDockerRunParameters()
      Gets the run parameters for the docker image
      Gibt zurück:
      the "docker run" parameters
    • setDockerRunParameters

      public void setDockerRunParameters(Map<String,String> dockerRunParameters)
      Sets the run parameters for the docker image
      Parameter:
      dockerRunParameters - the "docker run" parameters to set
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse PersistentObject
    • equals

      public boolean equals(Object obj)
      Beschreibung aus Klasse kopiert: PersistentObject
      Test equality of persistent objects based on their unique ID.
      Setzt außer Kraft:
      equals in Klasse PersistentObject
      Parameter:
      obj - the object to compare this object to
      Gibt zurück:
      true, if obj is a persistent object and has the same ID, false otherwise
      Siehe auch:
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object