Class DefaultLocalTransition<S,E>
java.lang.Object
org.springframework.statemachine.transition.AbstractTransition<S,E>
org.springframework.statemachine.transition.AbstractLocalTransition<S,E>
org.springframework.statemachine.transition.DefaultLocalTransition<S,E>
- All Implemented Interfaces:
Transition<S,E>
-
Field Summary
Fields inherited from class org.springframework.statemachine.transition.AbstractTransition
actions, target -
Constructor Summary
ConstructorsConstructorDescriptionDefaultLocalTransition(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 local transition.DefaultLocalTransition(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 local transition.DefaultLocalTransition(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 local transition. -
Method Summary
Methods inherited from class org.springframework.statemachine.transition.AbstractTransition
addActionListener, executeTransitionActions, getActions, getGuard, getKind, getName, getSecurityRule, getSource, getTarget, getTrigger, removeActionListener, transit
-
Constructor Details
-
DefaultLocalTransition
public DefaultLocalTransition(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 local transition.- Parameters:
source- the sourcetarget- the targetactions- the actionsevent- the eventguard- the guardtrigger- the trigger
-
DefaultLocalTransition
public DefaultLocalTransition(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 local transition.- Parameters:
source- the sourcetarget- the targetactions- the actionsevent- the eventguard- the guardtrigger- the triggersecurityRule- the security rule
-
DefaultLocalTransition
public DefaultLocalTransition(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 local transition.- Parameters:
source- the sourcetarget- the targetactions- the actionsevent- the eventguard- the guardtrigger- the triggersecurityRule- the security rulename- the name
-
-
Method Details
-
toString
- Overrides:
toStringin classAbstractTransition<S,E>
-