Interface VariableBinding

All Superinterfaces:
Serializable
All Known Implementing Classes:
FieldVariableBinding

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

    Modifier and Type
    Method
    Description
    Gets the value of a variable.
    void
    Sets the value of a variable.
  • Method Details

    • getValue

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

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