Package de.dlr.proseo.model
Class Workflow
java.lang.Object
de.dlr.proseo.model.PersistentObject
de.dlr.proseo.model.OrderTemplateBase
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 configured processor for this workflowGets the workflow descriptionGets the input product classGets the output product classgetUuid()Gets the workflow UUIDGets the available workflow optionsGets the workflow versioninthashCode()voidsetConfiguredProcessor(ConfiguredProcessor configuredProcessor) Sets the configured processor for this workflowvoidsetDescription(String description) Sets the workflow descriptionvoidsetInputProductClass(ProductClass inputProductClass) Sets the input product classvoidsetOutputProductClass(ProductClass outputProductClass) Sets the output product classvoidSets 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.OrderTemplateBase
getClassOutputParameters, getEnabled, getInputFilters, getMission, getName, getOutputFileClass, getOutputParameters, getPriority, getProcessingMode, getSliceDuration, getSliceOverlap, getSlicingType, isEnabled, setClassOutputParameters, setEnabled, setInputFilters, setMission, setName, setOutputFileClass, setOutputParameters, setPriority, setProcessingMode, setSliceDuration, setSliceOverlap, setSlicingTypeMethods inherited from class de.dlr.proseo.model.PersistentObject
getId, getVersion, incrementVersion, setId
-
Constructor Details
-
Workflow
public Workflow()
-
-
Method Details
-
getUuid
Gets the workflow UUID- Returns:
- the UUID
-
setUuid
Sets the workflow UUID- Parameters:
uuid- the UUID 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
-
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
-
getWorkflowOptions
Gets the available workflow options- Returns:
- the workflow options
-
setWorkflowOptions
Sets the available workflow options- Parameters:
workflowOptions- the workflow options to set
-
hashCode
public int hashCode()- Overrides:
hashCodein classOrderTemplateBase
-
equals
Description copied from class:PersistentObjectTest equality of persistent objects based on their unique ID.- Overrides:
equalsin classOrderTemplateBase- 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
- Overrides:
toStringin classOrderTemplateBase
-