public interface InstantiationBuilder<T extends InstantiationBuilder<T>>
Modifier and Type | Method and Description |
---|---|
T |
startAfterActivity(String activityId)
Submits an instruction that behaves like
startTransition(String) and always instantiates
the single outgoing sequence flow of the given activity. |
T |
startBeforeActivity(String activityId)
Submits the instruction:
|
T |
startTransition(String transitionId)
Submits the instruction:
|
T startBeforeActivity(String activityId)
Submits the instruction:
Start before the specified activity.
In particular:
activityId
- the activity to instantiateProcessEngineException
- if more than one possible ancestor activity instance existsT startAfterActivity(String activityId)
startTransition(String)
and always instantiates
the single outgoing sequence flow of the given activity. Does not consider asyncAfter.activityId
- the activity for which the outgoing flow should be executedProcessEngineException
- if the activity has 0 or more than 1 outgoing sequence flowsT startTransition(String transitionId)
Submits the instruction:
Start a sequence flow.
In particular:
transitionId
- the sequence flow to executeProcessEngineException
- if more than one possible ancestor activity instance existsCopyright © 2017. All rights reserved.