S - the type of stateE - the type of eventpublic abstract class AbstractStateMachineConfigurerAdapter<S,E> extends java.lang.Object implements StateMachineConfigurer<S,E>
StateMachineConfigurer.| Constructor and Description |
|---|
AbstractStateMachineConfigurerAdapter() |
public AbstractStateMachineConfigurerAdapter()
public final void init(StateMachineConfigBuilder<S,E> config) throws java.lang.Exception
AnnotationConfigurerAnnotationBuilder. Here only shared state should be
created and modified, but not properties on the AnnotationBuilder
used for building the object. This ensures that the
AnnotationConfigurer.configure(AnnotationBuilder) method uses the correct shared
objects when building.init in interface AnnotationConfigurer<StateMachineConfig<S,E>,StateMachineConfigBuilder<S,E>>config - the builderjava.lang.Exception - if error occurredpublic void configure(StateMachineConfigBuilder<S,E> config) throws java.lang.Exception
AnnotationConfigurerAnnotationBuilder by setting the necessary properties
on the AnnotationBuilder.configure in interface AnnotationConfigurer<StateMachineConfig<S,E>,StateMachineConfigBuilder<S,E>>config - the builderjava.lang.Exception - if error occurredpublic void configure(StateMachineModelConfigurer<S,E> model) throws java.lang.Exception
StateMachineConfigurerStateMachineModelConfigurer.configure in interface StateMachineConfigurer<S,E>model - the StateMachineModelConfigurerjava.lang.Exception - if configuration error happenspublic void configure(StateMachineConfigurationConfigurer<S,E> config) throws java.lang.Exception
StateMachineConfigurerStateMachineConfigurationConfigurer.configure in interface StateMachineConfigurer<S,E>config - the StateMachineConfigurationConfigurerjava.lang.Exception - if configuration error happenspublic void configure(StateMachineStateConfigurer<S,E> states) throws java.lang.Exception
StateMachineConfigurerStateMachineStateConfigurer.configure in interface StateMachineConfigurer<S,E>states - the StateMachineStateConfigurerjava.lang.Exception - if configuration error happenspublic void configure(StateMachineTransitionConfigurer<S,E> transitions) throws java.lang.Exception
StateMachineConfigurerStateMachineTransitionConfigurer.configure in interface StateMachineConfigurer<S,E>transitions - the StateMachineTransitionConfigurerjava.lang.Exception - if configuration error happenspublic boolean isAssignable(AnnotationBuilder<StateMachineConfig<S,E>> builder)
isAssignable in interface AnnotationConfigurer<StateMachineConfig<S,E>,StateMachineConfigBuilder<S,E>>protected final StateMachineModelBuilder<S,E> getStateMachineModelBuilder() throws java.lang.Exception
java.lang.Exceptionprotected final StateMachineTransitionBuilder<S,E> getStateMachineTransitionBuilder() throws java.lang.Exception
java.lang.Exceptionprotected final StateMachineStateBuilder<S,E> getStateMachineStateBuilder() throws java.lang.Exception
java.lang.Exceptionprotected final StateMachineConfigurationBuilder<S,E> getStateMachineConfigurationBuilder() throws java.lang.Exception
java.lang.Exception