Branches a pipeline by selecting which of several configured next steps to run, based on a value from the current row. Configured with a map of next steps keyed by a selector value: the selectorColumn or selectorAttribute property is used to read a value from the current row or from a pipeline attribute, and that value's string form is looked up against the keys of the next steps map to choose which branch runs. As currently implemented, the selector value is resolved but is not yet used to route execution to a branch.
Implements: PipelineStep
Properties
| Property | Returns | Description |
|---|---|---|
| description | String | Human-readable summary of this step, shown to administrators managing the pipeline. |
| nextStepsMap | Map<String,PipelineStep> | The candidate next steps for this decision, keyed by the selector value that chooses each one. |
| selectorAttribute | String | Name of the pipeline attribute read to obtain the selector value, used instead of selectorColumn. |
| selectorColumn | Integer | Zero-indexed column number read from the current row to obtain the selector value, used instead of selectorAttribute. |
Methods
getDescription()
Returns: String
Human-readable summary of this step, shown to administrators managing the pipeline.
getNextStepsMap()
Returns: Map<String,PipelineStep>
The candidate next steps for this decision, keyed by the selector value that chooses each one.
getSelectorAttribute()
Returns: String
Name of the pipeline attribute read to obtain the selector value, used instead of selectorColumn.
getSelectorColumn()
Returns: Integer
Zero-indexed column number read from the current row to obtain the selector value, used instead of selectorAttribute.