Class StateMachineConfigBuilder<S,E>
java.lang.Object
org.springframework.statemachine.config.common.annotation.AbstractAnnotationBuilder<O>
org.springframework.statemachine.config.common.annotation.AbstractConfiguredAnnotationBuilder<StateMachineConfig<S,E>,StateMachineConfigBuilder<S,E>,StateMachineConfigBuilder<S,E>>
org.springframework.statemachine.config.builders.StateMachineConfigBuilder<S,E>
- Type Parameters:
S
- the type of stateE
- the type of event
- All Implemented Interfaces:
AnnotationBuilder<StateMachineConfig<S,
E>>
public class StateMachineConfigBuilder<S,E>
extends AbstractConfiguredAnnotationBuilder<StateMachineConfig<S,E>,StateMachineConfigBuilder<S,E>,StateMachineConfigBuilder<S,E>>
AnnotationBuilder
handling all shared builders which effectively contructs
full configuration for StateMachineConfig
.- Author:
- Janne Valkealahti
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected StateMachineConfig<S,
E> Subclasses must implement this method to build the object that is being returned.Methods inherited from class org.springframework.statemachine.config.common.annotation.AbstractConfiguredAnnotationBuilder
apply, beforeConfigureMains, beforeConfigurePosts, beforeInit, doBuild, getConfigurer, getConfigurers, getOrApply, getOrBuild, getSharedObject, getSharedObjects, objectPostProcessor, postProcess, removeConfigurer, removeConfigurers, setSharedObject
Methods inherited from class org.springframework.statemachine.config.common.annotation.AbstractAnnotationBuilder
build, getObject
-
Constructor Details
-
StateMachineConfigBuilder
public StateMachineConfigBuilder()
-
-
Method Details
-
performBuild
Description copied from class:AbstractConfiguredAnnotationBuilder
Subclasses must implement this method to build the object that is being returned.- Specified by:
performBuild
in classAbstractConfiguredAnnotationBuilder<StateMachineConfig<S,
E>, StateMachineConfigBuilder<S, E>, StateMachineConfigBuilder<S, E>> - Returns:
- Object build by this builder
- Throws:
Exception
- if error occurred
-