Package de.dlr.proseo.procmgr.rest.model
Klasse RestTask
java.lang.Object
de.dlr.proseo.procmgr.rest.model.RestTask
- Alle implementierten Schnittstellen:
Serializable
- Siehe auch:
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungIntermediate output files for testing/evaluation purposesprotected Long
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)protected Long
The persistent id of this objectprotected Boolean
Indicates whether a failure of the task results in a failure of the whole processor (default true)protected Long
Minimum memory (RAM) requirement for this task in GiBprotected String
The mission code (e. g.protected Long
The number of CPUs used by the taskprotected String
User-defined unique processor class name of the owning processor (not required if embedded in processor object)protected String
Version identification of the processor executable (Docker image) (not required if embedded in processor object)(Package privat) static final long
protected String
The task name (unique for the Processor)protected String
A version identifier for the taskprotected Long
A version identifier to track updates to the object (especially to detect concurrent update attempts) -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungRestTask()
Creates a new RestTask.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. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
Returns the breakpointFileNames.Returns the criticalityLevel.getId()
Returns the id.Returns the isCritical.Returns the minMemory.Returns the missionCode.Returns the numberOfCpus.Returns the processorName.Returns the processorVersion.@NotNull String
Returns the taskName.@NotNull String
Returns the taskVersion.Returns the version.int
hashCode()
void
setBreakpointFileNames
(List<String> breakpointFileNames) Set the breakpointFileNames.void
setCriticalityLevel
(Long criticalityLevel) Set the criticalityLevel.void
Set the id.void
setIsCritical
(Boolean isCritical) Set the isCritical.void
setMinMemory
(Long minMemory) Set the minMemory.void
setMissionCode
(String missionCode) Set the missionCode.void
setNumberOfCpus
(Long numberOfCpus) Set the numberOfCpus.void
setProcessorName
(String processorName) Set the processorName.void
setProcessorVersion
(String processorVersion) Set the processorVersion.void
setTaskName
(String taskName) Set the taskName.void
setTaskVersion
(String taskVersion) Set the taskVersion.void
setVersion
(Long version) Set the version.toString()
-
Felddetails
-
serialVersionUID
static final long serialVersionUID- Siehe auch:
-
id
The persistent id of this object -
version
A version identifier to track updates to the object (especially to detect concurrent update attempts) -
missionCode
The mission code (e. g. S5P) (not required if embedded in processor object) -
processorName
User-defined unique processor class name of the owning processor (not required if embedded in processor object) -
processorVersion
Version identification of the processor executable (Docker image) (not required if embedded in processor object) -
taskName
The task name (unique for the Processor) -
taskVersion
A version identifier for the task -
isCritical
Indicates whether a failure of the task results in a failure of the whole processor (default true) -
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
The number of CPUs used by the task -
minMemory
Minimum memory (RAM) requirement for this task in GiB -
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
Returns the id.- Gibt zurück:
- id
-
setId
Set the id.- Parameter:
id
- the new id
-
getVersion
Returns the version.- Gibt zurück:
- version
-
setVersion
Set the version.- Parameter:
version
- the new version
-
getMissionCode
Returns the missionCode.- Gibt zurück:
- missionCode
-
setMissionCode
Set the missionCode.- Parameter:
missionCode
- the new missionCode
-
getProcessorName
Returns the processorName.- Gibt zurück:
- processorName
-
setProcessorName
Set the processorName.- Parameter:
processorName
- the new processorName
-
getProcessorVersion
Returns the processorVersion.- Gibt zurück:
- processorVersion
-
setProcessorVersion
Set the processorVersion.- Parameter:
processorVersion
- the new processorVersion
-
getTaskName
Returns the taskName.- Gibt zurück:
- taskName
-
setTaskName
Set the taskName.- Parameter:
taskName
- the new taskName
-
getTaskVersion
Returns the taskVersion.- Gibt zurück:
- taskVersion
-
setTaskVersion
Set the taskVersion.- Parameter:
taskVersion
- the new taskVersion
-
getIsCritical
Returns the isCritical.- Gibt zurück:
- isCritical
-
setIsCritical
Set the isCritical.- Parameter:
isCritical
- the new isCritical
-
getCriticalityLevel
Returns the criticalityLevel.- Gibt zurück:
- criticalityLevel
-
setCriticalityLevel
Set the criticalityLevel.- Parameter:
criticalityLevel
- the new criticalityLevel
-
getNumberOfCpus
Returns the numberOfCpus.- Gibt zurück:
- numberOfCpus
-
setNumberOfCpus
Set the numberOfCpus.- Parameter:
numberOfCpus
- the new numberOfCpus
-
getMinMemory
Returns the minMemory.- Gibt zurück:
- minMemory
-
setMinMemory
Set the minMemory.- Parameter:
minMemory
- the new minMemory
-
getBreakpointFileNames
Returns the breakpointFileNames.- Gibt zurück:
- breakpointFileNames
-
setBreakpointFileNames
Set the breakpointFileNames.- Parameter:
breakpointFileNames
- the new breakpointFileNames
-
hashCode
public int hashCode() -
equals
-
toString
-