public static class StateExpressions.Equals extends java.lang.Object implements StateExpression
Constructor and Description |
---|
Equals(java.lang.String jobId,
StateCondition stateCondition) |
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 Equals(java.lang.String jobId, StateCondition stateCondition)
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.