pub struct Workflow { /* private fields */ }Source§
Source
Make a new unregistered Workflow, copying all activities and the execution strategy. Returns a WorkflowBuilder that can be used to configure and register the new Workflow.
name- the name for the new Workflow
Source
Clone the existing Workflow named name.
Returns a WorkflowBuilder that can be used to configure and register the new Workflow.
Source
Retrieve the configuration as an adjacency list in JSON for the
Workflow, just for the given activity.
activity - return the configuration for the activity
Source
Retrieve the Activity object for the specified name.
Source
Retrieve the list of activity roots for the Workflow, or if
specified just for the given activity.
activity- if specified, return the roots for theactivity
Source
Retrieve the list of all activities, or optionally a filtered list.
activity- if specified, return the direct children and optionally the descendants of theactivity(includesactivity)immediate- whether to include only direct children ofactivityor all descendants
Source
Generate a FlowGraph object for the current Workflow and optionally show it in the UI.
activity- if specified, generate the Flowgraph usingactivityas the rootsequential- whether to generate a Composite or Sequential style graph
Source
Not yet implemented.
Source
Show the Workflow topology in the UI.
Source
Not yet implemented.