public final class PredicateActionResult extends Object implements Serializable
conditionalCompute
or waitUntilThen
operations.
Contains both the result of the predicate evaluation and action performedConstructor and Description |
---|
PredicateActionResult(boolean predicateResult,
Serializable actionResult) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Serializable |
getActionResult()
Returns the result of the conditional action
|
int |
hashCode() |
boolean |
isTrue()
Returns the result of the predicate evaluation
|
String |
toString() |
public PredicateActionResult(boolean predicateResult, Serializable actionResult)
public boolean isTrue()
public Serializable getActionResult()