Class Workflow


@Entity public class Workflow extends OrderTemplateBase
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 Details

    • Workflow

      public Workflow()
  • Method Details

    • getUuid

      public UUID getUuid()
      Gets the workflow UUID
      Returns:
      the UUID
    • setUuid

      public void setUuid(UUID uuid)
      Sets the workflow UUID
      Parameters:
      uuid - the UUID to set
    • getDescription

      public String getDescription()
      Gets the workflow description
      Returns:
      the description
    • setDescription

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

      public String getWorkflowVersion()
      Gets the workflow version
      Returns:
      the workflow version
    • setWorkflowVersion

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

      public ProductClass getInputProductClass()
      Gets the input product class
      Returns:
      the input product class
    • setInputProductClass

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

      public ProductClass getOutputProductClass()
      Gets the output product class
      Returns:
      the output product class
    • setOutputProductClass

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

      public ConfiguredProcessor getConfiguredProcessor()
      Gets the configured processor for this workflow
      Returns:
      the configured processor
    • setConfiguredProcessor

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

      public Set<WorkflowOption> getWorkflowOptions()
      Gets the available workflow options
      Returns:
      the workflow options
    • setWorkflowOptions

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

      public int hashCode()
      Overrides:
      hashCode in class OrderTemplateBase
    • equals

      public boolean equals(Object obj)
      Description copied from class: PersistentObject
      Test equality of persistent objects based on their unique ID.
      Overrides:
      equals in class OrderTemplateBase
      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

      public String toString()
      Overrides:
      toString in class OrderTemplateBase