Class ExprLookup.Variable

  • Enclosing class:
    ExprLookup

    public static class ExprLookup.Variable
    extends java.lang.Object
    The key and corresponding object that will be made available to the JexlContext for use in expressions.
    • Constructor Summary

      Constructors 
      Constructor Description
      Variable()
      Constructs a new instance.
      Variable​(java.lang.String name, java.lang.Object value)
      Constructs a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Gets the name to be used in expressions.
      java.lang.Object getValue()
      Sets the value to be used in expressions.
      void setName​(java.lang.String name)
      Sets the name to be used in expressions.
      void setValue​(java.lang.Object value)
      Sets the value to be used in expressions.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Variable

        public Variable()
        Constructs a new instance.
      • Variable

        public Variable​(java.lang.String name,
                        java.lang.Object value)
        Constructs a new instance.
        Parameters:
        name - The name to be used in expressions.
        value - The object to be accessed in expressions.
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets the name to be used in expressions.
        Returns:
        the name to be used in expressions.
      • getValue

        public java.lang.Object getValue()
        Sets the value to be used in expressions.
        Returns:
        the value to be used in expressions.
      • setName

        public void setName​(java.lang.String name)
        Sets the name to be used in expressions.
        Parameters:
        name - the name to be used in expressions.