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
-
Constructor Summary
ModifierConstructorDescriptionprotected
FirmwareUpdateResultInfoEvent
(String topic, String payload, FirmwareUpdateResultInfo firmwareUpdateResultInfo) Creates a newFirmwareUpdateResultInfoEvent
. -
Method Summary
Methods inherited from class org.openhab.core.events.AbstractEvent
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:Event
Gets the event type.- Returns:
- the event type
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractEvent
-
equals
- Overrides:
equals
in classAbstractEvent
-
toString
-