public abstract class Predicate extends Condition
| Modifier | Constructor and Description |
|---|---|
protected |
Predicate(Expression expression,
boolean evaluateTo)
Construct a predicate with given expression.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluateTo()
Returns if the predicate should evaluate to
true or false. |
Expression |
expression()
Expression to apply the predicate to.
|
Condition |
not()
Builder method to invert a condition.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacceptprotected Predicate(Expression expression, boolean evaluateTo)
expression - Expression to apply the predicate to.evaluateTo - What is the expected result of the evaluation?public final Expression expression()
public final boolean evaluateTo()
true or false.true if the predicate should evaluate to true,
false otherwise.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com