Class DefaultExternalTransition<S,E>
java.lang.Object
org.springframework.statemachine.transition.AbstractTransition<S,E>
org.springframework.statemachine.transition.AbstractExternalTransition<S,E>
org.springframework.statemachine.transition.DefaultExternalTransition<S,E>
- All Implemented Interfaces:
Transition<S,
E>
-
Field Summary
Fields inherited from class org.springframework.statemachine.transition.AbstractTransition
actions, target
-
Constructor Summary
ConstructorDescriptionDefaultExternalTransition
(State<S, E> source, State<S, E> target, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> actions, E event, Function<StateContext<S, E>, reactor.core.publisher.Mono<Boolean>> guard, Trigger<S, E> trigger) Instantiates a new default external transition.DefaultExternalTransition
(State<S, E> source, State<S, E> target, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> actions, E event, Function<StateContext<S, E>, reactor.core.publisher.Mono<Boolean>> guard, Trigger<S, E> trigger, SecurityRule securityRule) Instantiates a new default external transition.DefaultExternalTransition
(State<S, E> source, State<S, E> target, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> actions, E event, Function<StateContext<S, E>, reactor.core.publisher.Mono<Boolean>> guard, Trigger<S, E> trigger, SecurityRule securityRule, String name) Instantiates a new default external transition. -
Method Summary
Methods inherited from class org.springframework.statemachine.transition.AbstractTransition
addActionListener, executeTransitionActions, getActions, getGuard, getKind, getName, getSecurityRule, getSource, getTarget, getTrigger, removeActionListener, toString, transit
-
Constructor Details
-
DefaultExternalTransition
public DefaultExternalTransition(State<S, E> source, State<S, E> target, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> actions, E event, Function<StateContext<S, E>, reactor.core.publisher.Mono<Boolean>> guard, Trigger<S, E> trigger) Instantiates a new default external transition.- Parameters:
source
- the sourcetarget
- the targetactions
- the actionsevent
- the eventguard
- the guardtrigger
- the trigger
-
DefaultExternalTransition
public DefaultExternalTransition(State<S, E> source, State<S, E> target, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> actions, E event, Function<StateContext<S, E>, reactor.core.publisher.Mono<Boolean>> guard, Trigger<S, E> trigger, SecurityRule securityRule) Instantiates a new default external transition.- Parameters:
source
- the sourcetarget
- the targetactions
- the actionsevent
- the eventguard
- the guardtrigger
- the triggersecurityRule
- the security rule
-
DefaultExternalTransition
public DefaultExternalTransition(State<S, E> source, State<S, E> target, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> actions, E event, Function<StateContext<S, E>, reactor.core.publisher.Mono<Boolean>> guard, Trigger<S, E> trigger, SecurityRule securityRule, String name) Instantiates a new default external transition.- Parameters:
source
- the sourcetarget
- the targetactions
- the actionsevent
- the eventguard
- the guardtrigger
- the triggersecurityRule
- the security rulename
- the name
-