Klasse Task


@Entity public class Task extends PersistentObject
A single, separately adressable execution step of a Processor. Tasks may be flagged as "external", in which case the input data products are forwarded to an external entity for processing, and the output products are retrieved from that external entity. (Level 4 "Task" from Generic IPF Interface Specifications, sec. 4.1.3)
Autor:
Dr. Thomas Bassler
  • Konstruktordetails

    • Task

      public Task()
  • Methodendetails

    • getProcessor

      public Processor getProcessor()
      Gets the processor this task belongs to
      Gibt zurück:
      the processor
    • setProcessor

      public void setProcessor(Processor processor)
      Sets the processor this task belongs to
      Parameter:
      processor - the processor to set
    • getTaskName

      public String getTaskName()
      Gets the task name
      Gibt zurück:
      the taskName
    • setTaskName

      public void setTaskName(String taskName)
      Sets the task name
      Parameter:
      taskName - the taskName to set
    • getTaskVersion

      public String getTaskVersion()
      Gets the task version
      Gibt zurück:
      the taskVersion
    • setTaskVersion

      public void setTaskVersion(String taskVersion)
      Sets the task version
      Parameter:
      taskVersion - the taskVersion to set
    • getIsCritical

      public Boolean getIsCritical()
      Checks whether this task is critical
      Gibt zurück:
      the isCritical
    • isCritical

      public Boolean isCritical()
      Checks whether this task is critical (convenience alias for getIsCritical())
      Gibt zurück:
      the isCritical
    • setIsCritical

      public void setIsCritical(Boolean isCritical)
      Sets whether this task is critical
      Parameter:
      isCritical - the isCritical to set
    • getCriticalityLevel

      public Integer getCriticalityLevel()
      Gets the criticality level
      Gibt zurück:
      the criticalityLevel
    • setCriticalityLevel

      public void setCriticalityLevel(Integer criticalityLevel)
      Sets the criticality level
      Parameter:
      criticalityLevel - the criticalityLevel to set
    • getNumberOfCpus

      public Integer getNumberOfCpus()
      Gets the suggested number of CPUs
      Gibt zurück:
      the numberOfCpus
    • setNumberOfCpus

      public void setNumberOfCpus(Integer numberOfCpus)
      Sets the suggested number of CPUs
      Parameter:
      numberOfCpus - the numberOfCpus to set
    • getMinMemory

      public Integer getMinMemory()
      Gets the minimum required memory in GiB
      Gibt zurück:
      the minimum memory
    • setMinMemory

      public void setMinMemory(Integer minMemory)
      Sets the minimum required memory in GiB
      Parameter:
      minMemory - the minimum memory to set
    • getBreakpointFileNames

      public List<String> getBreakpointFileNames()
      Gets the breakpoint file names
      Gibt zurück:
      the breakpointFileNames
    • setBreakpointFileNames

      public void setBreakpointFileNames(List<String> breakpointFileNames)
      Sets the breakpoint file names
      Parameter:
      breakpointFileNames - the breakpointFileNames 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