Class PublishingVariableTest.SignallingTableUpdator

All Implemented Interfaces:
Flow.Subscriber<VariableTableAction>
Enclosing class:
PublishingVariableTest

public static class PublishingVariableTest.SignallingTableUpdator extends VariableTableUpdater
Updates a variable table when another table changes
  • Constructor Details

  • Method Details

    • variableChanged

      protected void variableChanged(String name, Object oldValue, Object newValue)
      Description copied from class: VariableTableSubscriber
      Called when a variable value has changed. Intended to be overridden by subclasses. Default implementation does nothing.
      Overrides:
      variableChanged in class VariableTableUpdater
      Parameters:
      name - name of the variable
      oldValue - previous value of the variable
      newValue - value of the variable after the change
    • variableAdded

      protected void variableAdded(String name, Object value)
      Description copied from class: VariableTableSubscriber
      Called when a variable is added to the table. Intended to be overridden by subclasses. Default implementation does nothing.
      Overrides:
      variableAdded in class VariableTableUpdater
      Parameters:
      name - the name of the variable which has been added.
      value - the value of the variable which has been added.