Package de.dlr.proseo.model
Class Workflow
java.lang.Object
de.dlr.proseo.model.PersistentObject
de.dlr.proseo.model.Workflow
A Workflow allows to select a suitable ConfiguredProcessor based on a given input product type
(and possibly also an output product type).
This class must not be confused with the generic concept of a "workflow" in the sense of chained processing steps,
since such a concept does not exist in prosEO. Its sole purpose is to support the implementation of ESA's
On-Demand Production Interface Delivery Point (ODPRIP) API.
- Author:
- Dr. Thomas Bassler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanTest equality of persistent objects based on their unique ID.Gets the class-specific output parametersGets the configured processor for this workflowGets the workflow descriptionGets the status of the "enabled" flagGets the input filtersGets the input product classGets the mission this workflow belongs togetName()Gets the workflow nameGets the output file classGets the output parametersGets the output product classGets the processing modeGets the slice duration for sliced ordersGets the overlap between adjacent slicesGets the order slicing typegetUuid()Gets the workflow UUIDGets the available workflow optionsGets the workflow versioninthashCode()Indicates, whether the workflow is available for usevoidsetClassOutputParameters(Map<ProductClass, ClassOutputParameter> classOutputParameters) Sets the class-specific output parametersvoidsetConfiguredProcessor(ConfiguredProcessor configuredProcessor) Sets the configured processor for this workflowvoidsetDescription(String description) Sets the workflow descriptionvoidsetEnabled(Boolean enabled) Sets the status of the "enabled" flagvoidsetInputFilters(Map<ProductClass, InputFilter> inputFilters) Sets the input filtersvoidsetInputProductClass(ProductClass inputProductClass) Sets the input product classvoidsetMission(Mission mission) Sets the mission this workflow belongs tovoidSets the workflow namevoidsetOutputFileClass(String outputFileClass) Sets the output file classvoidsetOutputParameters(Map<String, Parameter> outputParameters) Sets the output parametersvoidsetOutputProductClass(ProductClass outputProductClass) Sets the output product classvoidsetProcessingMode(String processingMode) Sets the processing modevoidsetSliceDuration(Duration sliceDuration) Sets the slice duration for sliced ordersvoidsetSliceOverlap(Duration sliceOverlap) Sets the overlap between adjacent slicesvoidsetSlicingType(OrderSlicingType slicingType) Sets the order slicing typevoidSets the workflow UUIDvoidsetWorkflowOptions(Set<WorkflowOption> workflowOptions) Sets the available workflow optionsvoidsetWorkflowVersion(String workflowVersion) Sets the workflow versiontoString()Methods inherited from class de.dlr.proseo.model.PersistentObject
getId, getVersion, incrementVersion, setId
-
Constructor Details
-
Workflow
public Workflow()
-
-
Method Details
-
getMission
Gets the mission this workflow belongs to- Returns:
- the enclosing mission
-
setMission
Sets the mission this workflow belongs to- Parameters:
mission- the enclosing mission to set
-
getUuid
Gets the workflow UUID- Returns:
- the UUID
-
setUuid
Sets the workflow UUID- Parameters:
uuid- the UUID to set
-
getName
Gets the workflow name- Returns:
- the name
-
setName
Sets the workflow name- Parameters:
name- the name to set
-
getDescription
Gets the workflow description- Returns:
- the description
-
setDescription
Sets the workflow description- Parameters:
description- the description to set
-
getWorkflowVersion
Gets the workflow version- Returns:
- the workflow version
-
setWorkflowVersion
Sets the workflow version- Parameters:
workflowVersion- the workflow version to set
-
getEnabled
Gets the status of the "enabled" flag- Returns:
- the enabled flag
-
isEnabled
Indicates, whether the workflow is available for use- Returns:
- the enabled flag
-
setEnabled
Sets the status of the "enabled" flag- Parameters:
enabled- the status of the enabled flag to set
-
getInputProductClass
Gets the input product class- Returns:
- the input product class
-
setInputProductClass
Sets the input product class- Parameters:
inputProductClass- the input product class to set
-
getOutputProductClass
Gets the output product class- Returns:
- the output product class
-
setOutputProductClass
Sets the output product class- Parameters:
outputProductClass- the output product class to set
-
getConfiguredProcessor
Gets the configured processor for this workflow- Returns:
- the configured processor
-
setConfiguredProcessor
Sets the configured processor for this workflow- Parameters:
configuredProcessor- the configured processor to set
-
getOutputFileClass
Gets the output file class- Returns:
- the output file class
-
setOutputFileClass
Sets the output file class- Parameters:
outputFileClass- the output file class to set
-
getProcessingMode
Gets the processing mode- Returns:
- the processing mode
-
setProcessingMode
Sets the processing mode- Parameters:
processingMode- the processing mode to set
-
getSlicingType
Gets the order slicing type- Returns:
- the slicing type
-
setSlicingType
Sets the order slicing type- Parameters:
slicingType- the slicing type to set
-
getSliceDuration
Gets the slice duration for sliced orders- Returns:
- the slice duration
-
setSliceDuration
Sets the slice duration for sliced orders- Parameters:
sliceDuration- the slice duration to set
-
getSliceOverlap
Gets the overlap between adjacent slices- Returns:
- the slice overlap
-
setSliceOverlap
Sets the overlap between adjacent slices- Parameters:
sliceOverlap- the slice overlap to set
-
getInputFilters
Gets the input filters- Returns:
- the input filters
-
setInputFilters
Sets the input filters- Parameters:
inputFilters- the input filters to set
-
getWorkflowOptions
Gets the available workflow options- Returns:
- the workflow options
-
setWorkflowOptions
Sets the available workflow options- Parameters:
workflowOptions- the workflow options to set
-
getClassOutputParameters
Gets the class-specific output parameters- Returns:
- the class-specific output parameters
-
setClassOutputParameters
Sets the class-specific output parameters- Parameters:
classOutputParameters- the class-specific output parameters to set
-
getOutputParameters
Gets the output parameters- Returns:
- the outputParameters
-
setOutputParameters
Sets the output parameters- Parameters:
outputParameters- the output parameters to set
-
hashCode
public int hashCode()- Overrides:
hashCodein classPersistentObject
-
equals
Description copied from class:PersistentObjectTest equality of persistent objects based on their unique ID.- Overrides:
equalsin classPersistentObject- Parameters:
obj- the object to compare this object to- Returns:
- true, if obj is a persistent object and has the same ID, false otherwise
- See Also:
-
toString
-