Class JunctionPseudoState.JunctionStateData<S,E>

java.lang.Object
org.springframework.statemachine.state.JunctionPseudoState.JunctionStateData<S,E>
Type Parameters:
S - the type of state
E - the type of event
Enclosing class:
JunctionPseudoState<S,E>

public static class JunctionPseudoState.JunctionStateData<S,E> extends Object
Data class wrapping choice State and Guard together.
  • 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 holder
      guard - the guard
      actions - the actions
  • Method Details

    • getStateHolder

      public StateHolder<S,E> getStateHolder()
      Gets the state holder.
      Returns:
      the state holder
    • getState

      public State<S,E> getState()
      Gets the state.
      Returns:
      the state
    • getGuard

      public Guard<S,E> getGuard()
      Gets the guard.
      Returns:
      the guard
    • getActions

      public Collection<Function<StateContext<S,E>,reactor.core.publisher.Mono<Void>>> getActions()
      Gets the actions.
      Returns:
      the actions