public class FlowPart
extends java.lang.Object
ModelBuilder to build a Model.Flow| Modifier and Type | Method and Description |
|---|---|
FlowPositionPart |
after(java.lang.String stepName)
Starts the flow after the specified step has been run, in this flow's use
case.
|
FlowPositionPart |
anytime()
Starts the flow after any step that has been run, or at the beginning.
|
FlowConditionPart |
condition(Condition condition)
Constrains the flow's condition: only if the specified condition is true, the
flow is started.
|
FlowPositionPart |
insteadOf(java.lang.String stepName)
Starts the flow as an alternative to the specified step, in this flow's use
case.
|
StepPart |
step(java.lang.String stepName)
Creates the first step of this flow, without specifying position or
condition.
|
public FlowPositionPart after(java.lang.String stepName)
stepName - the name of the step to start the flow afterNoSuchElementInModel - if the specified step is not found in a flow of
this use casepublic StepPart step(java.lang.String stepName)
stepName - the name of the step to be createdElementAlreadyInModel - if a step with the specified name already
exists in the use casepublic FlowPositionPart insteadOf(java.lang.String stepName)
stepName - the name of the specified stepNoSuchElementInModel - if the specified step is not found in this
flow's use casepublic FlowPositionPart anytime()
public FlowConditionPart condition(Condition condition)
condition - the condition that constrains when the flow is started