Class DefaultDistributedStateMachineConfigurer<S,E>
java.lang.Object
org.springframework.statemachine.config.common.annotation.AnnotationConfigurerAdapter<ConfigurationData<S,E>,StateMachineConfigurationConfigurer<S,E>,StateMachineConfigurationBuilder<S,E>>
org.springframework.statemachine.config.configurers.DefaultDistributedStateMachineConfigurer<S,E>
- Type Parameters:
S
- the type of stateE
- the type of event
- All Implemented Interfaces:
AnnotationConfigurer<ConfigurationData<S,
,E>, StateMachineConfigurationBuilder<S, E>> AnnotationConfigurerBuilder<StateMachineConfigurationConfigurer<S,
,E>> DistributedStateMachineConfigurer<S,
E>
public class DefaultDistributedStateMachineConfigurer<S,E>
extends AnnotationConfigurerAdapter<ConfigurationData<S,E>,StateMachineConfigurationConfigurer<S,E>,StateMachineConfigurationBuilder<S,E>>
implements DistributedStateMachineConfigurer<S,E>
Default implementation of a
DistributedStateMachineConfigurer
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(StateMachineConfigurationBuilder<S, E> builder) Configure theAnnotationBuilder
by setting the necessary properties on theAnnotationBuilder
.ensemble
(StateMachineEnsemble<S, E> ensemble) Specify aStateMachineEnsemble
.Methods inherited from class org.springframework.statemachine.config.common.annotation.AnnotationConfigurerAdapter
addObjectPostProcessor, and, getBuilder, init, isAssignable, setBuilder
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.statemachine.config.common.annotation.AnnotationConfigurerBuilder
and
-
Constructor Details
-
DefaultDistributedStateMachineConfigurer
public DefaultDistributedStateMachineConfigurer()
-
-
Method Details
-
configure
Description copied from interface:AnnotationConfigurer
Configure theAnnotationBuilder
by setting the necessary properties on theAnnotationBuilder
.- Specified by:
configure
in interfaceAnnotationConfigurer<S,
E> - Overrides:
configure
in classAnnotationConfigurerAdapter<ConfigurationData<S,
E>, StateMachineConfigurationConfigurer<S, E>, StateMachineConfigurationBuilder<S, E>> - Parameters:
builder
- the builder- Throws:
Exception
- if error occurred
-
ensemble
Description copied from interface:DistributedStateMachineConfigurer
Specify aStateMachineEnsemble
.- Specified by:
ensemble
in interfaceDistributedStateMachineConfigurer<S,
E> - Parameters:
ensemble
- the state machine ensemble- Returns:
- configurer for chaining
-