Class DefaultInternalTransition<S,E>
java.lang.Object
org.springframework.statemachine.transition.AbstractTransition<S,E>
org.springframework.statemachine.transition.AbstractInternalTransition<S,E>
org.springframework.statemachine.transition.DefaultInternalTransition<S,E>
- All Implemented Interfaces:
Transition<S,
E>
-
Field Summary
Fields inherited from class org.springframework.statemachine.transition.AbstractTransition
actions, target
-
Constructor Summary
ConstructorDescriptionDefaultInternalTransition
(State<S, E> source, 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 internal transition.DefaultInternalTransition
(State<S, E> source, 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 internal transition.DefaultInternalTransition
(State<S, E> source, 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 internal 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
-
DefaultInternalTransition
public DefaultInternalTransition(State<S, E> source, 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 internal transition.- Parameters:
source
- the sourceactions
- the actionsevent
- the eventguard
- the guardtrigger
- the trigger
-
DefaultInternalTransition
public DefaultInternalTransition(State<S, E> source, 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 internal transition.- Parameters:
source
- the sourceactions
- the actionsevent
- the eventguard
- the guardtrigger
- the triggersecurityRule
- the security rule
-
DefaultInternalTransition
public DefaultInternalTransition(State<S, E> source, 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 internal transition.- Parameters:
source
- the sourceactions
- the actionsevent
- the eventguard
- the guardtrigger
- the triggersecurityRule
- the security rulename
- the name
-