Class DefaultExitTransitionConfigurer<S,E>
java.lang.Object
org.springframework.statemachine.config.common.annotation.AnnotationConfigurerAdapter<TransitionsData<S,E>,StateMachineTransitionConfigurer<S,E>,StateMachineTransitionBuilder<S,E>>
org.springframework.statemachine.config.configurers.DefaultExitTransitionConfigurer<S,E>
- Type Parameters:
S
- the type of stateE
- the type of event
- All Implemented Interfaces:
AnnotationConfigurer<TransitionsData<S,
,E>, StateMachineTransitionBuilder<S, E>> AnnotationConfigurerBuilder<StateMachineTransitionConfigurer<S,
,E>> ExitTransitionConfigurer<S,
E>
public class DefaultExitTransitionConfigurer<S,E>
extends AnnotationConfigurerAdapter<TransitionsData<S,E>,StateMachineTransitionConfigurer<S,E>,StateMachineTransitionBuilder<S,E>>
implements ExitTransitionConfigurer<S,E>
Default implementation of a
ExitTransitionConfigurer
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(StateMachineTransitionBuilder<S, E> builder) Configure theAnnotationBuilder
by setting the necessary properties on theAnnotationBuilder
.Specify a source stateS
for thisTransition
.Specify a target stateS
for thisTransition
.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
-
DefaultExitTransitionConfigurer
public DefaultExitTransitionConfigurer()
-
-
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<TransitionsData<S,
E>, StateMachineTransitionConfigurer<S, E>, StateMachineTransitionBuilder<S, E>> - Parameters:
builder
- the builder- Throws:
Exception
- if error occurred
-
source
Description copied from interface:ExitTransitionConfigurer
Specify a source stateS
for thisTransition
.- Specified by:
source
in interfaceExitTransitionConfigurer<S,
E> - Parameters:
source
- the source stateS
- Returns:
- configurer for chaining
-
target
Description copied from interface:ExitTransitionConfigurer
Specify a target stateS
for thisTransition
.- Specified by:
target
in interfaceExitTransitionConfigurer<S,
E> - Parameters:
target
- the target stateS
- Returns:
- configurer for chaining
-