public class StepToPart<T>
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
Model |
build()
Returns the model built so far.
|
FlowPart |
flow(java.lang.String flowName)
Creates a new flow in the current use case.
|
StepToPart<T> |
reactWhile(Condition reactWhileCondition)
React to this step's message as long as the condition is fulfilled.
|
StepPart |
step(java.lang.String stepName)
Creates a new step in this flow, with the specified name, that follows the
current step in sequence.
|
static <T> StepToPart<T> |
stepToPart(StepSystemPart<T> stepSystemPart,
AbstractActor recipient) |
UseCasePart |
useCase(java.lang.String useCaseName)
Creates a new use case in the current model.
|
public static <T> StepToPart<T> stepToPart(StepSystemPart<T> stepSystemPart, AbstractActor recipient)
public 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 FlowPart flow(java.lang.String flowName)
flowName - the name of the flow to be created.ElementAlreadyInModel - if a flow with the specified name already
exists in the use casepublic UseCasePart useCase(java.lang.String useCaseName)
useCaseName - the name of the use case to be created.ElementAlreadyInModel - if a use case with the specified name already
exists in the modelpublic StepToPart<T> reactWhile(Condition reactWhileCondition)
Even when the condition is fulfilled, the flow can advance given that the message of the next step is received.
Note that if the condition is not fulfilled after the previous step has been performed, the step will not react at all.
reactWhileCondition - the condition to checkpublic Model build()