Package org.openhab.core.thing.firmware
Class FirmwareUpdateResultInfoEvent
java.lang.Object
org.openhab.core.events.AbstractEvent
org.openhab.core.thing.firmware.FirmwareUpdateResultInfoEvent
- All Implemented Interfaces:
Event
The
FirmwareUpdateResultInfoEvent is sent if the firmware update has been finished. It is created by the
FirmwareEventFactory.- Author:
- Thomas Höfer - Initial contribution, Dimitar Ivanov - Removed thing UID from the event
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConstant for the firmware update result info event type.Fields inherited from class org.openhab.core.events.AbstractEvent
ACTOR_SEPARATOR, DELEGATION_SEPARATOR -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFirmwareUpdateResultInfoEvent(String topic, String payload, FirmwareUpdateResultInfo firmwareUpdateResultInfo) Creates a newFirmwareUpdateResultInfoEvent. -
Method Summary
Methods inherited from class org.openhab.core.events.AbstractEvent
buildDelegatedSource, buildDelegatedSource, buildSource, getPayload, getSource, getTopic
-
Field Details
-
TYPE
Constant for the firmware update result info event type.
-
-
Constructor Details
-
FirmwareUpdateResultInfoEvent
protected FirmwareUpdateResultInfoEvent(String topic, String payload, FirmwareUpdateResultInfo firmwareUpdateResultInfo) Creates a newFirmwareUpdateResultInfoEvent.- Parameters:
topic- the topic of the eventpayload- the payload of the eventfirmwareUpdateResultInfo- the firmware update result info to be sent as event
-
-
Method Details
-
getFirmwareUpdateResultInfo
Returns the firmware update result info.- Returns:
- the firmware update result info
-
getType
Description copied from interface:EventGets the event type.- Returns:
- the event type
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractEvent
-
equals
- Overrides:
equalsin classAbstractEvent
-
toString
-