public static class StateExpressions.Not extends java.lang.Object implements StateExpression
Constructor and Description |
---|
Not(StateExpression expr) |
Modifier and Type | Method and Description |
---|---|
Restore |
evaluate(ArooaSession session,
java.util.function.Consumer<? super Try<EventOf<java.lang.Boolean>>> results)
Start evaluating the expression, capturing results in the provided consumer.
|
public Not(StateExpression expr)
public Restore evaluate(ArooaSession session, java.util.function.Consumer<? super Try<EventOf<java.lang.Boolean>>> results)
StateExpression
evaluate
in interface StateExpression
session
- The session from which the expression can get jobs etc.results
- The consumer that will continually capture the changing
evaluation.