Class JunctionPseudoState.JunctionStateData<S,E>
java.lang.Object
org.springframework.statemachine.state.JunctionPseudoState.JunctionStateData<S,E>
- Type Parameters:
S
- the type of stateE
- the type of event
- Enclosing class:
- JunctionPseudoState<S,
E>
-
Constructor Summary
ConstructorDescriptionJunctionStateData
(StateHolder<S, E> state, Guard<S, E> guard, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> actions) Instantiates a new junction state data. -
Method Summary
Modifier and TypeMethodDescriptionCollection<Function<StateContext<S,
E>, reactor.core.publisher.Mono<Void>>> Gets the actions.getGuard()
Gets the guard.getState()
Gets the state.Gets the state holder.
-
Constructor Details
-
JunctionStateData
public JunctionStateData(StateHolder<S, E> state, Guard<S, E> guard, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> actions) Instantiates a new junction state data.- Parameters:
state
- the state holderguard
- the guardactions
- the actions
-
-
Method Details
-
getStateHolder
Gets the state holder.- Returns:
- the state holder
-
getState
Gets the state.- Returns:
- the state
-
getGuard
Gets the guard.- Returns:
- the guard
-
getActions
Gets the actions.- Returns:
- the actions
-