Klasse RestTask

java.lang.Object
de.dlr.proseo.procmgr.rest.model.RestTask
Alle implementierten Schnittstellen:
Serializable

public class RestTask extends Object implements Serializable
Siehe auch:
  • Felddetails

    • serialVersionUID

      static final long serialVersionUID
      Siehe auch:
    • id

      protected Long id
      The persistent id of this object
    • version

      protected Long version
      A version identifier to track updates to the object (especially to detect concurrent update attempts)
    • missionCode

      protected String missionCode
      The mission code (e. g. S5P) (not required if embedded in processor object)
    • processorName

      protected String processorName
      User-defined unique processor class name of the owning processor (not required if embedded in processor object)
    • processorVersion

      protected String processorVersion
      Version identification of the processor executable (Docker image) (not required if embedded in processor object)
    • taskName

      protected String taskName
      The task name (unique for the Processor)
    • taskVersion

      protected String taskVersion
      A version identifier for the task
    • isCritical

      protected Boolean isCritical
      Indicates whether a failure of the task results in a failure of the whole processor (default true)
    • criticalityLevel

      protected Long criticalityLevel
      Task priority, in case of failure all running tasks with a lower priority number will be aborted (mandatory for processors with more than one task)
    • numberOfCpus

      protected Long numberOfCpus
      The number of CPUs used by the task
    • minMemory

      protected Long minMemory
      Minimum memory (RAM) requirement for this task in GiB
    • breakpointFileNames

      protected List<String> breakpointFileNames
      Intermediate output files for testing/evaluation purposes
  • Konstruktordetails

    • RestTask

      public RestTask()
      Creates a new RestTask.
    • RestTask

      public RestTask(Long id, Long version, String missionCode, String processorName, String processorVersion, String taskName, String taskVersion, Boolean isCritical, Long criticalityLevel, Long numberOfCpus, Long minMemory, List<String> breakpointFileNames)
      Creates a new RestTask.
  • Methodendetails

    • getId

      public Long getId()
      Returns the id.
      Gibt zurück:
      id
    • setId

      public void setId(Long id)
      Set the id.
      Parameter:
      id - the new id
    • getVersion

      public Long getVersion()
      Returns the version.
      Gibt zurück:
      version
    • setVersion

      public void setVersion(Long version)
      Set the version.
      Parameter:
      version - the new version
    • getMissionCode

      public String getMissionCode()
      Returns the missionCode.
      Gibt zurück:
      missionCode
    • setMissionCode

      public void setMissionCode(String missionCode)
      Set the missionCode.
      Parameter:
      missionCode - the new missionCode
    • getProcessorName

      public String getProcessorName()
      Returns the processorName.
      Gibt zurück:
      processorName
    • setProcessorName

      public void setProcessorName(String processorName)
      Set the processorName.
      Parameter:
      processorName - the new processorName
    • getProcessorVersion

      public String getProcessorVersion()
      Returns the processorVersion.
      Gibt zurück:
      processorVersion
    • setProcessorVersion

      public void setProcessorVersion(String processorVersion)
      Set the processorVersion.
      Parameter:
      processorVersion - the new processorVersion
    • getTaskName

      @NotNull public @NotNull String getTaskName()
      Returns the taskName.
      Gibt zurück:
      taskName
    • setTaskName

      public void setTaskName(String taskName)
      Set the taskName.
      Parameter:
      taskName - the new taskName
    • getTaskVersion

      @NotNull public @NotNull String getTaskVersion()
      Returns the taskVersion.
      Gibt zurück:
      taskVersion
    • setTaskVersion

      public void setTaskVersion(String taskVersion)
      Set the taskVersion.
      Parameter:
      taskVersion - the new taskVersion
    • getIsCritical

      public Boolean getIsCritical()
      Returns the isCritical.
      Gibt zurück:
      isCritical
    • setIsCritical

      public void setIsCritical(Boolean isCritical)
      Set the isCritical.
      Parameter:
      isCritical - the new isCritical
    • getCriticalityLevel

      public Long getCriticalityLevel()
      Returns the criticalityLevel.
      Gibt zurück:
      criticalityLevel
    • setCriticalityLevel

      public void setCriticalityLevel(Long criticalityLevel)
      Set the criticalityLevel.
      Parameter:
      criticalityLevel - the new criticalityLevel
    • getNumberOfCpus

      public Long getNumberOfCpus()
      Returns the numberOfCpus.
      Gibt zurück:
      numberOfCpus
    • setNumberOfCpus

      public void setNumberOfCpus(Long numberOfCpus)
      Set the numberOfCpus.
      Parameter:
      numberOfCpus - the new numberOfCpus
    • getMinMemory

      public Long getMinMemory()
      Returns the minMemory.
      Gibt zurück:
      minMemory
    • setMinMemory

      public void setMinMemory(Long minMemory)
      Set the minMemory.
      Parameter:
      minMemory - the new minMemory
    • getBreakpointFileNames

      @NotNull public @NotNull List<String> getBreakpointFileNames()
      Returns the breakpointFileNames.
      Gibt zurück:
      breakpointFileNames
    • setBreakpointFileNames

      public void setBreakpointFileNames(List<String> breakpointFileNames)
      Set the breakpointFileNames.
      Parameter:
      breakpointFileNames - the new breakpointFileNames
    • hashCode

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

      public boolean equals(Object other)
      Setzt außer Kraft:
      equals in Klasse Object
    • toString

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