S - the type of stateE - the type of eventpublic class DefaultForkTransitionConfigurer<S,E> extends AnnotationConfigurerAdapter<TransitionsData<S,E>,StateMachineTransitionConfigurer<S,E>,StateMachineTransitionBuilder<S,E>> implements ForkTransitionConfigurer<S,E>
ForkTransitionConfigurer.| Constructor and Description |
|---|
DefaultForkTransitionConfigurer() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(StateMachineTransitionBuilder<S,E> builder)
Configure the
AnnotationBuilder by setting the necessary properties
on the AnnotationBuilder. |
ForkTransitionConfigurer<S,E> |
source(S source)
Specify a source state
S for this Transition. |
ForkTransitionConfigurer<S,E> |
target(S target)
Specify a target state
S for this Transition. |
addObjectPostProcessor, and, getBuilder, init, isAssignable, setBuilderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandpublic void configure(StateMachineTransitionBuilder<S,E> builder) throws java.lang.Exception
AnnotationConfigurerAnnotationBuilder by setting the necessary properties
on the AnnotationBuilder.configure in interface AnnotationConfigurer<TransitionsData<S,E>,StateMachineTransitionBuilder<S,E>>configure in class AnnotationConfigurerAdapter<TransitionsData<S,E>,StateMachineTransitionConfigurer<S,E>,StateMachineTransitionBuilder<S,E>>builder - the builderjava.lang.Exception - if error occurredpublic ForkTransitionConfigurer<S,E> source(S source)
ForkTransitionConfigurerS for this Transition.source in interface ForkTransitionConfigurer<S,E>source - the source state Spublic ForkTransitionConfigurer<S,E> target(S target)
ForkTransitionConfigurerS for this Transition.target in interface ForkTransitionConfigurer<S,E>target - the target state S