S
- the type of stateE
- the type of eventpublic interface StateMachineConfigurer<S,E> extends AnnotationConfigurer<StateMachineConfig<S,E>,StateMachineConfigBuilder<S,E>>
AnnotationConfigurer
exposing configurers for states and transitions.Modifier and Type | Method and Description |
---|---|
void |
configure(StateMachineConfigurationConfigurer<S,E> config)
Callback for
StateMachineConfigurationConfigurer . |
void |
configure(StateMachineModelConfigurer<S,E> model)
Callback for
StateMachineModelConfigurer . |
void |
configure(StateMachineStateConfigurer<S,E> states)
Callback for
StateMachineStateConfigurer . |
void |
configure(StateMachineTransitionConfigurer<S,E> transitions)
Callback for
StateMachineTransitionConfigurer . |
configure, init, isAssignable
void configure(StateMachineModelConfigurer<S,E> model) throws java.lang.Exception
StateMachineModelConfigurer
.model
- the StateMachineModelConfigurer
java.lang.Exception
- if configuration error happensvoid configure(StateMachineConfigurationConfigurer<S,E> config) throws java.lang.Exception
StateMachineConfigurationConfigurer
.config
- the StateMachineConfigurationConfigurer
java.lang.Exception
- if configuration error happensvoid configure(StateMachineStateConfigurer<S,E> states) throws java.lang.Exception
StateMachineStateConfigurer
.states
- the StateMachineStateConfigurer
java.lang.Exception
- if configuration error happensvoid configure(StateMachineTransitionConfigurer<S,E> transitions) throws java.lang.Exception
StateMachineTransitionConfigurer
.transitions
- the StateMachineTransitionConfigurer
java.lang.Exception
- if configuration error happens