Package de.dlr.proseo.model
Klasse Processor
java.lang.Object
de.dlr.proseo.model.PersistentObject
de.dlr.proseo.model.Processor
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
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
Test equality of persistent objects based on their unique ID.Gets the associated processor configurationsGets the docker image name and tagGets the run parameters for the docker imageChecks whether this processor version is a test/evaluation versionGets the Job Order file specification versionGets the maximum execution time in secondsGets the minimum required disk space in MBGets the processor classGets the processor versionChecks whether this processor is executed on time intervalsgetTasks()
Gets the task listGets the indicator for generation of input file time intervalsint
hashCode()
Checks whether this processor is executed on time intervals (convenience alias for getSensingTimeFlag())isTest()
Checks whether this processor version is a test/evaluation version (convenience alias for getIsTest())void
setConfiguredProcessors
(Set<ConfiguredProcessor> configuredProcessors) Sets the associated processor configurationsvoid
setDockerImage
(String dockerImage) Sets the docker image name and tagvoid
setDockerRunParameters
(Map<String, String> dockerRunParameters) Sets the run parameters for the docker imagevoid
Sets whether this processor version is a test/evaluation versionvoid
setJobOrderVersion
(JobOrderVersion jobOrderVersion) Sets the Job Order file specification versionvoid
setMaxTime
(Integer maxTime) Sets the maximum execution time in secondsvoid
setMinDiskSpace
(Integer minDiskSpace) Sets the minimum required disk space in MBvoid
setProcessorClass
(ProcessorClass processorClass) Sets the processor classvoid
setProcessorVersion
(String processorVersion) Sets the processor versionvoid
setSensingTimeFlag
(Boolean sensingTimeFlag) Sets whether this processor is executed on time intervalsvoid
Sets the task listvoid
setUseInputFileTimeIntervals
(Boolean useInputFileTimeIntervals) Sets the indicator for generation of input file time intervalstoString()
Von Klasse geerbte Methoden de.dlr.proseo.model.PersistentObject
getId, getVersion, incrementVersion, setId
-
Konstruktordetails
-
Processor
public Processor()
-
-
Methodendetails
-
getProcessorClass
Gets the processor class- Gibt zurück:
- the processorClass
-
setProcessorClass
Sets the processor class- Parameter:
processorClass
- the processorClass to set
-
getConfiguredProcessors
Gets the associated processor configurations- Gibt zurück:
- the processor configurations for this processor
-
setConfiguredProcessors
Sets the associated processor configurations- Parameter:
configuredProcessors
- the processor configurations to set
-
getProcessorVersion
Gets the processor version- Gibt zurück:
- the processorVersion
-
setProcessorVersion
Sets the processor version- Parameter:
processorVersion
- the processorVersion to set
-
getJobOrderVersion
Gets the Job Order file specification version- Gibt zurück:
- the Job Order file specification version
-
setJobOrderVersion
Sets the Job Order file specification version- Parameter:
jobOrderVersion
- the Job Order file specification version to set
-
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
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
Checks whether this processor version is a test/evaluation version- Gibt zurück:
- the isTest
-
isTest
Checks whether this processor version is a test/evaluation version (convenience alias for getIsTest())- Gibt zurück:
- the isTest
-
setIsTest
Sets whether this processor version is a test/evaluation version- Parameter:
isTest
- the isTest to set
-
getMinDiskSpace
Gets the minimum required disk space in MB- Gibt zurück:
- the minDiskSpace
-
setMinDiskSpace
Sets the minimum required disk space in MB- Parameter:
minDiskSpace
- the minDiskSpace to set
-
getMaxTime
Gets the maximum execution time in seconds- Gibt zurück:
- the maxTime
-
setMaxTime
Sets the maximum execution time in seconds- Parameter:
maxTime
- the maxTime to set
-
getSensingTimeFlag
Checks whether this processor is executed on time intervals- Gibt zurück:
- the sensingTimeFlag
-
hasSensingTimeFlag
Checks whether this processor is executed on time intervals (convenience alias for getSensingTimeFlag())- Gibt zurück:
- the sensingTimeFlag
-
setSensingTimeFlag
Sets whether this processor is executed on time intervals- Parameter:
sensingTimeFlag
- the sensingTimeFlag to set
-
getTasks
Gets the task list- Gibt zurück:
- the tasks
-
setTasks
Sets the task list- Parameter:
tasks
- the tasks to set
-
getDockerImage
Gets the docker image name and tag- Gibt zurück:
- the docker image name and tag
-
setDockerImage
Sets the docker image name and tag- Parameter:
dockerImage
- the docker image name and tag to set
-
getDockerRunParameters
Gets the run parameters for the docker image- Gibt zurück:
- the "docker run" parameters
-
setDockerRunParameters
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 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
-