Klasse Workflow


@Entity public class Workflow extends PersistentObject
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.
Autor:
Dr. Thomas Bassler
  • Konstruktordetails

    • Workflow

      public Workflow()
  • Methodendetails

    • getMission

      public Mission getMission()
      Gets the mission this workflow belongs to
      Gibt zurück:
      the enclosing mission
    • setMission

      public void setMission(Mission mission)
      Sets the mission this workflow belongs to
      Parameter:
      mission - the enclosing mission to set
    • getUuid

      public UUID getUuid()
      Gets the workflow UUID
      Gibt zurück:
      the UUID
    • setUuid

      public void setUuid(UUID uuid)
      Sets the workflow UUID
      Parameter:
      uuid - the UUID to set
    • getName

      public String getName()
      Gets the workflow name
      Gibt zurück:
      the name
    • setName

      public void setName(String name)
      Sets the workflow name
      Parameter:
      name - the name to set
    • getDescription

      public String getDescription()
      Gets the workflow description
      Gibt zurück:
      the description
    • setDescription

      public void setDescription(String description)
      Sets the workflow description
      Parameter:
      description - the description to set
    • getWorkflowVersion

      public String getWorkflowVersion()
      Gets the workflow version
      Gibt zurück:
      the workflow version
    • setWorkflowVersion

      public void setWorkflowVersion(String workflowVersion)
      Sets the workflow version
      Parameter:
      workflowVersion - the workflow version to set
    • getEnabled

      public Boolean getEnabled()
      Gets the status of the "enabled" flag
      Gibt zurück:
      the enabled flag
    • isEnabled

      public Boolean isEnabled()
      Indicates, whether the workflow is available for use
      Gibt zurück:
      the enabled flag
    • setEnabled

      public void setEnabled(Boolean enabled)
      Sets the status of the "enabled" flag
      Parameter:
      enabled - the status of the enabled flag to set
    • getInputProductClass

      public ProductClass getInputProductClass()
      Gets the input product class
      Gibt zurück:
      the input product class
    • setInputProductClass

      public void setInputProductClass(ProductClass inputProductClass)
      Sets the input product class
      Parameter:
      inputProductClass - the input product class to set
    • getOutputProductClass

      public ProductClass getOutputProductClass()
      Gets the output product class
      Gibt zurück:
      the output product class
    • setOutputProductClass

      public void setOutputProductClass(ProductClass outputProductClass)
      Sets the output product class
      Parameter:
      outputProductClass - the output product class to set
    • getConfiguredProcessor

      public ConfiguredProcessor getConfiguredProcessor()
      Gets the configured processor for this workflow
      Gibt zurück:
      the configured processor
    • setConfiguredProcessor

      public void setConfiguredProcessor(ConfiguredProcessor configuredProcessor)
      Sets the configured processor for this workflow
      Parameter:
      configuredProcessor - the configured processor to set
    • getOutputFileClass

      public String getOutputFileClass()
      Gets the output file class
      Gibt zurück:
      the output file class
    • setOutputFileClass

      public void setOutputFileClass(String outputFileClass)
      Sets the output file class
      Parameter:
      outputFileClass - the output file class to set
    • getProcessingMode

      public String getProcessingMode()
      Gets the processing mode
      Gibt zurück:
      the processing mode
    • setProcessingMode

      public void setProcessingMode(String processingMode)
      Sets the processing mode
      Parameter:
      processingMode - the processing mode to set
    • getSlicingType

      public OrderSlicingType getSlicingType()
      Gets the order slicing type
      Gibt zurück:
      the slicing type
    • setSlicingType

      public void setSlicingType(OrderSlicingType slicingType)
      Sets the order slicing type
      Parameter:
      slicingType - the slicing type to set
    • getSliceDuration

      public Duration getSliceDuration()
      Gets the slice duration for sliced orders
      Gibt zurück:
      the slice duration
    • setSliceDuration

      public void setSliceDuration(Duration sliceDuration)
      Sets the slice duration for sliced orders
      Parameter:
      sliceDuration - the slice duration to set
    • getSliceOverlap

      public Duration getSliceOverlap()
      Gets the overlap between adjacent slices
      Gibt zurück:
      the slice overlap
    • setSliceOverlap

      public void setSliceOverlap(Duration sliceOverlap)
      Sets the overlap between adjacent slices
      Parameter:
      sliceOverlap - the slice overlap to set
    • getInputFilters

      public Map<ProductClass,InputFilter> getInputFilters()
      Gets the input filters
      Gibt zurück:
      the input filters
    • setInputFilters

      public void setInputFilters(Map<ProductClass,InputFilter> inputFilters)
      Sets the input filters
      Parameter:
      inputFilters - the input filters to set
    • getWorkflowOptions

      public Set<WorkflowOption> getWorkflowOptions()
      Gets the available workflow options
      Gibt zurück:
      the workflow options
    • setWorkflowOptions

      public void setWorkflowOptions(Set<WorkflowOption> workflowOptions)
      Sets the available workflow options
      Parameter:
      workflowOptions - the workflow options to set
    • getClassOutputParameters

      public Map<ProductClass,ClassOutputParameter> getClassOutputParameters()
      Gets the class-specific output parameters
      Gibt zurück:
      the class-specific output parameters
    • setClassOutputParameters

      public void setClassOutputParameters(Map<ProductClass,ClassOutputParameter> classOutputParameters)
      Sets the class-specific output parameters
      Parameter:
      classOutputParameters - the class-specific output parameters to set
    • getOutputParameters

      public Map<String,Parameter> getOutputParameters()
      Gets the output parameters
      Gibt zurück:
      the outputParameters
    • setOutputParameters

      public void setOutputParameters(Map<String,Parameter> outputParameters)
      Sets the output parameters
      Parameter:
      outputParameters - the output parameters to set
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse PersistentObject
    • equals

      public boolean equals(Object obj)
      Beschreibung aus Klasse kopiert: PersistentObject
      Test equality of persistent objects based on their unique ID.
      Setzt außer Kraft:
      equals in Klasse PersistentObject
      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

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object