Interface StateMachineConfigurer<S,E>
- Type Parameters:
S
- the type of stateE
- the type of event
- All Superinterfaces:
AnnotationConfigurer<StateMachineConfig<S,
E>, StateMachineConfigBuilder<S, E>>
- All Known Implementing Classes:
AbstractStateMachineConfigurerAdapter
,EnumStateMachineConfigurerAdapter
,StateMachineConfigurerAdapter
public interface StateMachineConfigurer<S,E>
extends AnnotationConfigurer<StateMachineConfig<S,E>,StateMachineConfigBuilder<S,E>>
AnnotationConfigurer
exposing configurers for states and transitions.- Author:
- Janne Valkealahti
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(StateMachineConfigurationConfigurer<S, E> config) Callback forStateMachineConfigurationConfigurer
.void
configure
(StateMachineModelConfigurer<S, E> model) Callback forStateMachineModelConfigurer
.void
configure
(StateMachineStateConfigurer<S, E> states) Callback forStateMachineStateConfigurer
.void
configure
(StateMachineTransitionConfigurer<S, E> transitions) Callback forStateMachineTransitionConfigurer
.Methods inherited from interface org.springframework.statemachine.config.common.annotation.AnnotationConfigurer
configure, init, isAssignable
-
Method Details
-
configure
Callback forStateMachineModelConfigurer
.- Parameters:
model
- theStateMachineModelConfigurer
- Throws:
Exception
- if configuration error happens
-
configure
Callback forStateMachineConfigurationConfigurer
.- Parameters:
config
- theStateMachineConfigurationConfigurer
- Throws:
Exception
- if configuration error happens
-
configure
Callback forStateMachineStateConfigurer
.- Parameters:
states
- theStateMachineStateConfigurer
- Throws:
Exception
- if configuration error happens
-
configure
Callback forStateMachineTransitionConfigurer
.- Parameters:
transitions
- theStateMachineTransitionConfigurer
- Throws:
Exception
- if configuration error happens
-