Class JoinPseudoState.JoinStateData<S,E>

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

public static class JoinPseudoState.JoinStateData<S,E> extends Object
Data class wrapping join State and Guard together.
  • Constructor Details

    • JoinStateData

      public JoinStateData(StateHolder<S,E> state, Function<StateContext<S,E>,reactor.core.publisher.Mono<Boolean>> guard)
      Instantiates a new join state data.
      Parameters:
      state - the state holder
      guard - the guard
  • 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 Function<StateContext<S,E>,reactor.core.publisher.Mono<Boolean>> getGuard()
      Gets the guard.
      Returns:
      the guard