Interface VariableBinding

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    FieldVariableBinding

    public interface VariableBinding
    extends java.io.Serializable
    Bound variables will call these methods to interact with objects outside of Jep.
    Since:
    Jep 3.5
    Author:
    Richard Morris
    • Method Detail

      • getValue

        java.lang.Object getValue()
                           throws java.lang.Exception
        Gets the value of a variable.
        Returns:
        the value
        Throws:
        java.lang.Exception - if there is a problem getting the variable value
      • setValue

        void setValue​(java.lang.Object value)
               throws java.lang.Exception
        Sets the value of a variable.
        Parameters:
        value - new value of the variable
        Throws:
        java.lang.Exception - if there is a problem setting the variable value