Package de.dlr.proseo.model
Klasse Task
java.lang.Object
de.dlr.proseo.model.PersistentObject
de.dlr.proseo.model.Task
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
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
Test equality of persistent objects based on their unique ID.Gets the breakpoint file namesGets the criticality levelChecks whether this task is criticalGets the minimum required memory in GiBGets the suggested number of CPUsGets the processor this task belongs toGets the task nameGets the task versionint
hashCode()
Checks whether this task is critical (convenience alias for getIsCritical())void
setBreakpointFileNames
(List<String> breakpointFileNames) Sets the breakpoint file namesvoid
setCriticalityLevel
(Integer criticalityLevel) Sets the criticality levelvoid
setIsCritical
(Boolean isCritical) Sets whether this task is criticalvoid
setMinMemory
(Integer minMemory) Sets the minimum required memory in GiBvoid
setNumberOfCpus
(Integer numberOfCpus) Sets the suggested number of CPUsvoid
setProcessor
(Processor processor) Sets the processor this task belongs tovoid
setTaskName
(String taskName) Sets the task namevoid
setTaskVersion
(String taskVersion) Sets the task versiontoString()
Von Klasse geerbte Methoden de.dlr.proseo.model.PersistentObject
getId, getVersion, incrementVersion, setId
-
Konstruktordetails
-
Task
public Task()
-
-
Methodendetails
-
getProcessor
Gets the processor this task belongs to- Gibt zurück:
- the processor
-
setProcessor
Sets the processor this task belongs to- Parameter:
processor
- the processor to set
-
getTaskName
Gets the task name- Gibt zurück:
- the taskName
-
setTaskName
Sets the task name- Parameter:
taskName
- the taskName to set
-
getTaskVersion
Gets the task version- Gibt zurück:
- the taskVersion
-
setTaskVersion
Sets the task version- Parameter:
taskVersion
- the taskVersion to set
-
getIsCritical
Checks whether this task is critical- Gibt zurück:
- the isCritical
-
isCritical
Checks whether this task is critical (convenience alias for getIsCritical())- Gibt zurück:
- the isCritical
-
setIsCritical
Sets whether this task is critical- Parameter:
isCritical
- the isCritical to set
-
getCriticalityLevel
Gets the criticality level- Gibt zurück:
- the criticalityLevel
-
setCriticalityLevel
Sets the criticality level- Parameter:
criticalityLevel
- the criticalityLevel to set
-
getNumberOfCpus
Gets the suggested number of CPUs- Gibt zurück:
- the numberOfCpus
-
setNumberOfCpus
Sets the suggested number of CPUs- Parameter:
numberOfCpus
- the numberOfCpus to set
-
getMinMemory
Gets the minimum required memory in GiB- Gibt zurück:
- the minimum memory
-
setMinMemory
Sets the minimum required memory in GiB- Parameter:
minMemory
- the minimum memory to set
-
getBreakpointFileNames
Gets the breakpoint file names- Gibt zurück:
- the breakpointFileNames
-
setBreakpointFileNames
Sets the breakpoint file names- Parameter:
breakpointFileNames
- the breakpointFileNames to set
-
hashCode
public int hashCode()- Setzt außer Kraft:
hashCode
in KlassePersistentObject
-
equals
Beschreibung aus Klasse kopiert:PersistentObject
Test equality of persistent objects based on their unique ID.- Setzt außer Kraft:
equals
in KlassePersistentObject
- 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
-