Interface TriggerProfile

All Superinterfaces:

@NonNullByDefault public interface TriggerProfile extends Profile
A TriggerProfile specifies the communication between the framework and the handler for trigger channels. Although trigger channels by their nature do not have a state, it becomes possible to link such trigger channels to items using such a profile.

The main purpose of a TriggerProfile is to listen to triggered events and use them to calculate a meaningful state.

Simon Kaufmann - Initial contribution
  • Method Details

    • onTriggerFromHandler

      void onTriggerFromHandler(String event)
      Will be called whenever the binding intends to issue a trigger event.
      event - the event payload