Class AddonEvent

  • All Implemented Interfaces:
    Event

    public class AddonEvent
    extends AbstractEvent
    This is an Event that is sent on add-on operations, such as installing and uninstalling.
    Author:
    Kai Kreuzer - Initial contribution
    • Field Detail

      • TYPE

        public static final String TYPE
        The add-on event type.
    • Constructor Detail

      • AddonEvent

        public AddonEvent​(String topic,
                          String payload,
                          String id,
                          String msg)
        Constructs a new add-on event object.
        Parameters:
        topic - the topic
        payload - the payload
        id - the id of the add-on
        msg - the message text
      • AddonEvent

        public AddonEvent​(String topic,
                          String payload,
                          String id)
        Constructs a new add-on event object.
        Parameters:
        topic - the topic
        payload - the payload
        id - the id of the add-on
    • Method Detail

      • getType

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