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> |
first(S target,
Guard<S,E> guard,
Action<S,E> action)
Specify a target state
S as a first choice associating an
Action to outgoing vertex. |
JunctionTransitionConfigurer<S,E> |
first(S target,
Guard<S,E> guard,
Action<S,E> action,
Action<S,E> error)
Specify a target state
S as a first choice associating an
Action to outgoing vertex. |
JunctionTransitionConfigurer<S,E> |
last(S target)
Specify a target state
S as a last choice. |
JunctionTransitionConfigurer<S,E> |
last(S target,
Action<S,E> action)
Specify a target state
S as a last choice associating an
Action to outgoing vertex. |
JunctionTransitionConfigurer<S,E> |
last(S target,
Action<S,E> action,
Action<S,E> error)
Specify a target state
S as a last choice associating an
Action to outgoing vertex. |
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. |
JunctionTransitionConfigurer<S,E> |
then(S target,
Guard<S,E> guard,
Action<S,E> action)
Specify a target state
S as a then choice associating an
Action to outgoing vertex. |
JunctionTransitionConfigurer<S,E> |
then(S target,
Guard<S,E> guard,
Action<S,E> action,
Action<S,E> error)
Specify a target state
S as a then choice associating an
Action to outgoing vertex. |
andJunctionTransitionConfigurer<S,E> source(S source)
S for this Transition.source - the source state SJunctionTransitionConfigurer<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> first(S target, Guard<S,E> guard, Action<S,E> action)
S as a first choice associating an
Action to outgoing vertex. This must be set.
In normal if/else if/else this would represent if.
target - the target stateguard - the guard for this choiceaction - the actionJunctionTransitionConfigurer<S,E> first(S target, Guard<S,E> guard, Action<S,E> action, Action<S,E> error)
S as a first choice associating an
Action to outgoing vertex. This must be set.
In normal if/else if/else this would represent if.
target - the target stateguard - the guard for this choiceaction - the actionerror - action that will be called if any unexpected exception is thrown by the action.JunctionTransitionConfigurer<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> then(S target, Guard<S,E> guard, Action<S,E> action)
S as a then choice associating an
Action to outgoing vertex. 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 choiceaction - the actionJunctionTransitionConfigurer<S,E> then(S target, Guard<S,E> guard, Action<S,E> action, Action<S,E> error)
S as a then choice associating an
Action to outgoing vertex. 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 choiceaction - the actionerror - action that will be called if any unexpected exception is thrown by the action.JunctionTransitionConfigurer<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 stateJunctionTransitionConfigurer<S,E> last(S target, Action<S,E> action)
S as a last choice associating an
Action to outgoing vertex. This must be set.
In normal if/else if/else this would represent else.
target - the target stateaction - the actionJunctionTransitionConfigurer<S,E> last(S target, Action<S,E> action, Action<S,E> error)
S as a last choice associating an
Action to outgoing vertex. This must be set.
In normal if/else if/else this would represent else.
target - the target stateaction - the actionerror - action that will be called if any unexpected exception is thrown by the action.