Class StringExpression

java.lang.Object
org.jppf.node.policy.AbstractExpression<String>
org.jppf.node.policy.StringExpression
All Implemented Interfaces:
Serializable, Expression<String>

public class StringExpression extends AbstractExpression<String>
An expression that represents a string as either a literal or an expression that returns a string.
Author:
Laurent Cohen
See Also:
  • Constructor Details

    • StringExpression

      public StringExpression(String expression)
      Parameters:
      expression - the expression to evaluate.
    • StringExpression

      public StringExpression(String expression, boolean literal)
      Parameters:
      expression - the expression to evaluate.
      literal - whther the expression should be considered a literal string.
  • Method Details

    • getValueType

      public ValueType getValueType()
      Returns:
      the type of value this expression returns.