Package org.jppf.node.policy
Class BooleanExpression
- All Implemented Interfaces:
Serializable,Expression<Boolean>
An expression that represents a boolean value as either a literal or an expression that returns a boolean.
- Author:
- Laurent Cohen
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBooleanExpression(boolean value) Initialize as a literal boolean value.BooleanExpression(String expression) -
Method Summary
Methods inherited from class org.jppf.node.policy.AbstractExpression
evaluate, getExpression, isLiteral
-
Constructor Details
-
BooleanExpression
- Parameters:
expression- the expression to evaluate.
-
BooleanExpression
public BooleanExpression(boolean value) Initialize as a literal boolean value.- Parameters:
value- the value to return.
-
-
Method Details
-
getValueType
- Returns:
- the type of value this expression returns.
-