public class DefaultExternalTransitionConfigurer<S,E> extends AnnotationConfigurerAdapter<StateMachineTransitions<S,E>,StateMachineTransitionConfigurer<S,E>,StateMachineTransitionBuilder<S,E>> implements ExternalTransitionConfigurer<S,E>
| Constructor and Description |
|---|
DefaultExternalTransitionConfigurer() |
| Modifier and Type | Method and Description |
|---|---|
ExternalTransitionConfigurer<S,E> |
action(Action action) |
void |
configure(StateMachineTransitionBuilder<S,E> builder)
Configure the
AnnotationBuilder by setting the necessary properties
on the AnnotationBuilder. |
ExternalTransitionConfigurer<S,E> |
event(E event) |
ExternalTransitionConfigurer<S,E> |
source(S source) |
ExternalTransitionConfigurer<S,E> |
target(S target) |
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<StateMachineTransitions<S,E>,StateMachineTransitionBuilder<S,E>>configure in class AnnotationConfigurerAdapter<StateMachineTransitions<S,E>,StateMachineTransitionConfigurer<S,E>,StateMachineTransitionBuilder<S,E>>builder - the builderjava.lang.Exception - if error occurredpublic ExternalTransitionConfigurer<S,E> source(S source)
source in interface ExternalTransitionConfigurer<S,E>public ExternalTransitionConfigurer<S,E> target(S target)
target in interface ExternalTransitionConfigurer<S,E>public ExternalTransitionConfigurer<S,E> event(E event)
event in interface ExternalTransitionConfigurer<S,E>public ExternalTransitionConfigurer<S,E> action(Action action)
action in interface ExternalTransitionConfigurer<S,E>