S
- the type of stateE
- the type of eventpublic class DefaultJoinTransitionConfigurer<S,E> extends AnnotationConfigurerAdapter<TransitionsData<S,E>,StateMachineTransitionConfigurer<S,E>,StateMachineTransitionBuilder<S,E>> implements JoinTransitionConfigurer<S,E>
JoinTransitionConfigurer
.Constructor and Description |
---|
DefaultJoinTransitionConfigurer() |
Modifier and Type | Method and Description |
---|---|
void |
configure(StateMachineTransitionBuilder<S,E> builder)
Configure the
AnnotationBuilder by setting the necessary properties
on the AnnotationBuilder . |
JoinTransitionConfigurer<S,E> |
source(S source)
Specify a source state
S for this Transition . |
JoinTransitionConfigurer<S,E> |
sources(java.util.Collection<S> sources)
Specify a source states
S for this Transition . |
JoinTransitionConfigurer<S,E> |
target(S target)
Specify a target state
S for this Transition . |
addObjectPostProcessor, and, getBuilder, init, isAssignable, setBuilder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
and
public void configure(StateMachineTransitionBuilder<S,E> builder) throws java.lang.Exception
AnnotationConfigurer
AnnotationBuilder
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 JoinTransitionConfigurer<S,E> source(S source)
JoinTransitionConfigurer
S
for this Transition
.source
in interface JoinTransitionConfigurer<S,E>
source
- the source state S
public JoinTransitionConfigurer<S,E> sources(java.util.Collection<S> sources)
JoinTransitionConfigurer
S
for this Transition
.sources
in interface JoinTransitionConfigurer<S,E>
sources
- the sourcespublic JoinTransitionConfigurer<S,E> target(S target)
JoinTransitionConfigurer
S
for this Transition
.target
in interface JoinTransitionConfigurer<S,E>
target
- the target state S