Class ConstantExpression

    • Constructor Detail

      • ConstantExpression

        public ConstantExpression()
        Base constructor
      • ConstantExpression

        public ConstantExpression​(Object value)
        Convenience constructor sets value property.
    • Method Detail

      • getExpressionText

        public String getExpressionText()
        Returns:
        the textual representation of this expression
      • evaluate

        public Object evaluate​(JellyContext context)
        Evaluate expression against given context.
        Parameters:
        context - evaluate expression against this context
        Returns:
        current value of value property
      • getValue

        public Object getValue()
        Gets the constant value of this expression
      • setValue

        public void setValue​(Object value)
        Sets the constant value of this expression