Struct WorkflowBuilder
pub struct WorkflowBuilder { /* private fields */ }Source§
Source
Register this Workflow, making it immutable and available for use.
configuration- a JSON representation of the workflow configuration
Source
Assign the list of activities as the new set of children for the specified activity.
activity- the Activity node to assign childrenactivities- the list of Activities to assign
Source
Insert the list of activities before the specified activity and at the same level.
activity- the Activity node for which to insertactivitiesbeforeactivities- the list of Activities to insert
Source
Insert the list of activities after the specified activity and at the same level.
activity- the Activity node for which to insertactivitiesafteractivities- the list of Activities to insert
Source
Remove the specified activity
Source
Replace the specified activity.
activity- the Activity to replacenew_activity- the replacement Activity