Interface TriggerProfile

All Superinterfaces:
Profile

@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.

Author:
Simon Kaufmann - Initial contribution
  • Method Details

    • onTriggerFromHandler

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