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