Class AbstractExternalTransition<S,E>
java.lang.Object
org.springframework.statemachine.transition.AbstractTransition<S,E>
org.springframework.statemachine.transition.AbstractExternalTransition<S,E>
- All Implemented Interfaces:
Transition<S,
E>
- Direct Known Subclasses:
DefaultExternalTransition
-
Field Summary
Fields inherited from class org.springframework.statemachine.transition.AbstractTransition
actions, target
-
Constructor Summary
ConstructorDescriptionAbstractExternalTransition
(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 abstract external transition.AbstractExternalTransition
(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 abstract external transition.AbstractExternalTransition
(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 abstract 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
-
AbstractExternalTransition
public AbstractExternalTransition(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 abstract external transition.- Parameters:
source
- the sourcetarget
- the targetactions
- the actionsevent
- the eventguard
- the guardtrigger
- the triggersecurityRule
- the security rulename
- the name
-
AbstractExternalTransition
public AbstractExternalTransition(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 abstract external transition.- Parameters:
source
- the sourcetarget
- the targetactions
- the actionsevent
- the eventguard
- the guardtrigger
- the triggersecurityRule
- the security rule
-
AbstractExternalTransition
public AbstractExternalTransition(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 abstract external transition.- Parameters:
source
- the sourcetarget
- the targetactions
- the actionsevent
- the eventguard
- the guardtrigger
- the trigger
-