S
- the type of stateE
- the type of eventpublic interface JunctionTransitionConfigurer<S,E> extends AnnotationConfigurerBuilder<StateMachineTransitionConfigurer<S,E>>
TransitionConfigurer
interface for configuring Transition
from a junction pseudo state.Modifier and Type | Method and Description |
---|---|
JunctionTransitionConfigurer<S,E> |
first(S target,
Guard<S,E> guard)
Specify a target state
S as a first choice. |
JunctionTransitionConfigurer<S,E> |
last(S target)
Specify a target state
S as a last choice. |
JunctionTransitionConfigurer<S,E> |
source(S source)
Specify a source state
S for this Transition . |
JunctionTransitionConfigurer<S,E> |
then(S target,
Guard<S,E> guard)
Specify a target state
S as a then choice. |
and
JunctionTransitionConfigurer<S,E> source(S source)
S
for this Transition
.source
- the source state S
JunctionTransitionConfigurer<S,E> first(S target, Guard<S,E> guard)
S
as a first choice.
This must be set.
In normal if/else if/else this would represent if.
target
- the target stateguard
- the guard for this choiceJunctionTransitionConfigurer<S,E> then(S target, Guard<S,E> guard)
S
as a then choice.
This is optional. Multiple thens will preserve order.
In normal if/else if/else this would represent else if.
target
- the target stateguard
- the guard for this choiceJunctionTransitionConfigurer<S,E> last(S target)
S
as a last choice.
This must be set.
In normal if/else if/else this would represent else.
target
- the target state