public class DefaultStateConfigurer<S,E> extends AnnotationConfigurerAdapter<StateMachineStates<S,E>,StateMachineStateConfigurer<S,E>,StateMachineStateBuilder<S,E>> implements StateConfigurer<S,E>
| Constructor and Description |
|---|
DefaultStateConfigurer() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(StateMachineStateBuilder<S,E> builder)
Configure the
AnnotationBuilder by setting the necessary properties
on the AnnotationBuilder. |
StateConfigurer<S,E> |
initial(S initial) |
StateConfigurer<S,E> |
state(S state) |
StateConfigurer<S,E> |
state(S state,
E... deferred) |
StateConfigurer<S,E> |
states(java.util.Set<S> states) |
addObjectPostProcessor, and, getBuilder, init, isAssignable, setBuilderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandpublic void configure(StateMachineStateBuilder<S,E> builder) throws java.lang.Exception
AnnotationConfigurerAnnotationBuilder by setting the necessary properties
on the AnnotationBuilder.configure in interface AnnotationConfigurer<StateMachineStates<S,E>,StateMachineStateBuilder<S,E>>configure in class AnnotationConfigurerAdapter<StateMachineStates<S,E>,StateMachineStateConfigurer<S,E>,StateMachineStateBuilder<S,E>>builder - the builderjava.lang.Exception - if error occurredpublic StateConfigurer<S,E> initial(S initial)
initial in interface StateConfigurer<S,E>public StateConfigurer<S,E> state(S state)
state in interface StateConfigurer<S,E>public StateConfigurer<S,E> state(S state, E... deferred)
state in interface StateConfigurer<S,E>public StateConfigurer<S,E> states(java.util.Set<S> states)
states in interface StateConfigurer<S,E>