java.lang.Object
org.springframework.statemachine.guard.Guards

public final class Guards extends Object
Guard Utilities.
  • Constructor Details

    • Guards

      public Guards()
  • Method Details

    • from

      public static <S, E> Function<StateContext<S,E>,reactor.core.publisher.Mono<Boolean>> from(Guard<S,E> guard)
      Builds a ReactiveGuard from a Guard.
      Type Parameters:
      S - the type of state
      E - the type of event
      Parameters:
      guard - the guard
      Returns:
      the function