Class Guards
java.lang.Object
org.springframework.statemachine.guard.Guards
Guard Utilities.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <S,E> Function<StateContext<S, E>, reactor.core.publisher.Mono<Boolean>> Builds aReactiveGuardfrom aGuard.
-
Constructor Details
-
Guards
public Guards()
-
-
Method Details
-
from
public static <S,E> Function<StateContext<S,E>, fromreactor.core.publisher.Mono<Boolean>> (Guard<S, E> guard) Builds aReactiveGuardfrom aGuard.- Type Parameters:
S- the type of stateE- the type of event- Parameters:
guard- the guard- Returns:
- the function
-