Class DefaultModelConfigurer<S,E>
java.lang.Object
org.springframework.statemachine.config.common.annotation.AnnotationConfigurerAdapter<ModelData<S,E>,StateMachineModelConfigurer<S,E>,StateMachineModelBuilder<S,E>>
org.springframework.statemachine.config.configurers.DefaultModelConfigurer<S,E>
- Type Parameters:
S- the type of stateE- the type of event
- All Implemented Interfaces:
AnnotationConfigurer<ModelData<S,,E>, StateMachineModelBuilder<S, E>> AnnotationConfigurerBuilder<StateMachineModelConfigurer<S,,E>> ModelConfigurer<S,E>
public class DefaultModelConfigurer<S,E>
extends AnnotationConfigurerAdapter<ModelData<S,E>,StateMachineModelConfigurer<S,E>,StateMachineModelBuilder<S,E>>
implements ModelConfigurer<S,E>
Default implementation of a
ModelConfigurer.- Author:
- Janne Valkealahti
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(StateMachineModelBuilder<S, E> builder) Configure theAnnotationBuilderby setting the necessary properties on theAnnotationBuilder.factory(StateMachineModelFactory<S, E> factory) Specify a state machine model factory.Methods inherited from class org.springframework.statemachine.config.common.annotation.AnnotationConfigurerAdapter
addObjectPostProcessor, and, getBuilder, init, isAssignable, setBuilderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.statemachine.config.common.annotation.AnnotationConfigurerBuilder
and
-
Constructor Details
-
DefaultModelConfigurer
public DefaultModelConfigurer()
-
-
Method Details
-
configure
Description copied from interface:AnnotationConfigurerConfigure theAnnotationBuilderby setting the necessary properties on theAnnotationBuilder.- Specified by:
configurein interfaceAnnotationConfigurer<S,E> - Overrides:
configurein classAnnotationConfigurerAdapter<ModelData<S,E>, StateMachineModelConfigurer<S, E>, StateMachineModelBuilder<S, E>> - Parameters:
builder- the builder- Throws:
Exception- if error occurred
-
factory
Description copied from interface:ModelConfigurerSpecify a state machine model factory.- Specified by:
factoryin interfaceModelConfigurer<S,E> - Parameters:
factory- the state machine model factory- Returns:
- configurer for chaining
-