java.lang.Object
com.inductiveautomation.perspective.gateway.binding.expression.structure.ExpressionStructureBinding
All Implemented Interfaces:
ExpressionStructureBindingConstants, Binding

public class ExpressionStructureBinding extends Object implements Binding, ExpressionStructureBindingConstants
An ExpressionStructureBinding is a Binding where a given JSON document of any shape / size will have all its string value leaf nodes interpreted as expression sources
  • Constructor Details

  • Method Details

    • resolveReferences

      public Collection<PropertyReference> resolveReferences()
      Specified by:
      resolveReferences in interface Binding
    • startup

      public void startup()
      Description copied from interface: Binding
      Start up the binding. Will be called on-queue
      Specified by:
      startup in interface Binding
    • shutdown

      public void shutdown()
      Description copied from interface: Binding
      Shut down the binding. Will be called on-queue
      Specified by:
      shutdown in interface Binding
    • onUserRefresh

      public void onUserRefresh()
      Description copied from interface: Binding
      Called to prompt the binding to produce a value as soon as possible. This _not_ the normal way that bindings work. Bindings are expected to produce a value un-prompted after startup, and then again whenever they feel is appropriate. This is there to allow the user to call component.refreshBinding(property) and prompt a non-polling binding to run.
      Specified by:
      onUserRefresh in interface Binding