Interface BindingContext

    • Method Detail

      • publish

        void publish​(QualifiedValue value,
                     boolean pending)
        Called from the binding when it has a value to push onto the target property ( or through its transforms )
        Parameters:
        pending - true if this value is temporary and will be replaced (within a reasonable span of time) with a new value
      • processPublishedValue

        void processPublishedValue()
        Takes the most recently published value from the binding and runs it through the transforms or delivers it to the target if there are no transforms.
      • getSession

        default Session getSession()
      • getScheduler

        default java.util.concurrent.ScheduledExecutorService getScheduler()
      • getMutabilityMode

        default MutabilityMode getMutabilityMode()
        Returns:
        the mutability mode of the current session. This will be "READ_WRITE" except for designer sessions, for which it will match the designer's current gateway comm mode setting. If you need to be notified when this changes, you must listen on the CommonContext.getEventBus() for a SessionMutabilityChangeEvent
      • getDiagnosticPath

        default java.lang.String getDiagnosticPath()