Class WorkflowConfig

java.lang.Object
org.efs.activator.config.WorkflowConfig

public class WorkflowConfig extends Object
An activator work flow takes one or more agents from a given start state to a target end state.
Author:
Charles W. Rapp
  • Field Details

  • Constructor Details

    • WorkflowConfig

      public WorkflowConfig()
      Default constructor required for a typesafe bean class. Does no field initialization.
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getName

      public String getName()
      Returns unique workflow name.
      Returns:
      unique workflow name.
    • getStages

      public List<WorkflowStageConfig> getStages()
      Returns workflow stages as an immutable list.
      Returns:
      workflow stages.
    • setName

      public void setName(String name)
      Sets unique workflow name. Name must be unique within its activator.
      Parameters:
      name - workflow name.
      Throws:
      com.typesafe.config.ConfigException - if name is either null or an empty string.
    • setStages

      public void setStages(List<WorkflowStageConfig> stages)
      Stages defining this workflow.
      Parameters:
      stages - workflow stages.
      Throws:
      com.typesafe.config.ConfigException - if stages is either null or an empty list.