public static final class TransitionOptions.Builder
extends java.lang.Object
TransitionOptions
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TransitionOptions |
build()
Builds the configured instance.
|
TransitionOptions.Builder |
eventName(java.lang.String eventName)
Sets the value of
TransitionOptions.getEventName() |
TransitionOptions.Builder |
executing(java.util.List<? extends IAction> executing)
Sets the value of
TransitionOptions.getExecuting() |
TransitionOptions.Builder |
when(Expression when)
Sets the value of
TransitionOptions.getWhen() |
public TransitionOptions.Builder when(Expression when)
TransitionOptions.getWhen()
when
- The condition that is used to determine to cause the state transition and the actions. This parameter is required.
When this was evaluated to true
, the state transition and the actions are triggered.this
public TransitionOptions.Builder eventName(java.lang.String eventName)
TransitionOptions.getEventName()
eventName
- The name of the event.this
public TransitionOptions.Builder executing(java.util.List<? extends IAction> executing)
TransitionOptions.getExecuting()
executing
- The actions to be performed with the transition.this
public TransitionOptions build()
TransitionOptions
java.lang.NullPointerException
- if any required attribute was not provided