Class WorkflowConfig
java.lang.Object
org.efs.activator.config.WorkflowConfig
An activator work flow takes one or more agents from a given
start state to a target end state.
- Author:
- Charles W. Rapp
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns unique workflow name.Returns workflow stages as an immutable list.voidSets unique workflow name.voidsetStages(List<WorkflowStageConfig> stages) Stages defining this workflow.toString()
-
Field Details
-
NAME_KEY
-
STAGES_KEY
-
-
Constructor Details
-
WorkflowConfig
public WorkflowConfig()Default constructor required for a typesafe bean class. Does no field initialization.
-
-
Method Details
-
toString
-
getName
-
getStages
Returns workflow stages as an immutable list.- Returns:
- workflow stages.
-
setName
Sets unique workflow name. Name must be unique within its activator.- Parameters:
name- workflow name.- Throws:
com.typesafe.config.ConfigException- ifnameis eithernullor an empty string.
-
setStages
Stages defining this workflow.- Parameters:
stages- workflow stages.- Throws:
com.typesafe.config.ConfigException- ifstagesis eithernullor an empty list.
-