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 TypMethodeBeschreibungbooleanTest 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 intervalsinthashCode()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())voidsetConfiguredProcessors(Set<ConfiguredProcessor> configuredProcessors) Sets the associated processor configurationsvoidsetDockerImage(String dockerImage) Sets the docker image name and tagvoidsetDockerRunParameters(Map<String, String> dockerRunParameters) Sets the run parameters for the docker imagevoidSets whether this processor version is a test/evaluation versionvoidsetJobOrderVersion(JobOrderVersion jobOrderVersion) Sets the Job Order file specification versionvoidsetMaxTime(Integer maxTime) Sets the maximum execution time in secondsvoidsetMinDiskSpace(Integer minDiskSpace) Sets the minimum required disk space in MBvoidsetProcessorClass(ProcessorClass processorClass) Sets the processor classvoidsetProcessorVersion(String processorVersion) Sets the processor versionvoidsetSensingTimeFlag(Boolean sensingTimeFlag) Sets whether this processor is executed on time intervalsvoidSets the task listvoidsetUseInputFileTimeIntervals(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:
hashCodein KlassePersistentObject
-
equals
Beschreibung aus Klasse kopiert:PersistentObjectTest equality of persistent objects based on their unique ID.- Setzt außer Kraft:
equalsin 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
-