Package org.openhab.core.addon
Class AddonEvent
java.lang.Object
org.openhab.core.events.AbstractEvent
org.openhab.core.addon.AddonEvent
- All Implemented Interfaces:
Event
This is an
Event that is sent on add-on operations, such as installing and
uninstalling.- Author:
- Kai Kreuzer - Initial contribution
-
Field Summary
FieldsFields inherited from class org.openhab.core.events.AbstractEvent
ACTOR_SEPARATOR, DELEGATION_SEPARATOR -
Constructor Summary
ConstructorsConstructorDescriptionAddonEvent(String topic, String payload, String id) Constructs a new add-on event object.AddonEvent(String topic, String payload, String id, @Nullable String msg) Constructs a new add-on event object. -
Method Summary
Methods inherited from class org.openhab.core.events.AbstractEvent
buildDelegatedSource, buildDelegatedSource, buildSource, equals, getPayload, getSource, getTopic, hashCode
-
Field Details
-
TYPE
The add-on event type.
-
-
Constructor Details
-
AddonEvent
Constructs a new add-on event object.- Parameters:
topic- the topicpayload- the payloadid- the id of the add-onmsg- the message text
-
AddonEvent
Constructs a new add-on event object.- Parameters:
topic- the topicpayload- the payloadid- the id of the add-on
-
-
Method Details