Class ChannelTriggeredEvent

  • All Implemented Interfaces:
    Event

    @NonNullByDefault
    public class ChannelTriggeredEvent
    extends AbstractEvent
    ChannelTriggeredEvents can be used to deliver triggers through the openHAB event bus. Trigger events must be created with the ThingEventFactory.
    Author:
    Moritz Kammerer - Initial contribution
    • Field Detail

      • TYPE

        public static final String TYPE
        The thing trigger event type.
    • Method Detail

      • getType

        public String getType()
        Description copied from interface: Event
        Gets the event type.
        Returns:
        the event type
      • getEvent

        public String getEvent()
        Returns the event.
        Returns:
        the event
      • getChannel

        public ChannelUID getChannel()
        Returns:
        the channel which triggered the event