Class Guards
java.lang.Object
org.springframework.statemachine.guard.Guards
Guard Utilities.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <S,
E> Function<StateContext<S, E>, reactor.core.publisher.Mono<Boolean>> Builds aReactiveGuard
from 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 aReactiveGuard
from aGuard
.- Type Parameters:
S
- the type of stateE
- the type of event- Parameters:
guard
- the guard- Returns:
- the function
-