Class FirmwareUpdateResultInfoEvent

java.lang.Object
org.openhab.core.events.AbstractEvent
org.openhab.core.thing.firmware.FirmwareUpdateResultInfoEvent
All Implemented Interfaces:
Event

@NonNullByDefault public final class FirmwareUpdateResultInfoEvent extends AbstractEvent
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 Details

    • TYPE

      public static final String TYPE
      Constant for the firmware update result info event type.
  • Constructor Details

    • FirmwareUpdateResultInfoEvent

      protected FirmwareUpdateResultInfoEvent(String topic, String payload, FirmwareUpdateResultInfo firmwareUpdateResultInfo)
      Parameters:
      topic - the topic of the event
      payload - the payload of the event
      firmwareUpdateResultInfo - the firmware update result info to be sent as event
  • Method Details

    • getFirmwareUpdateResultInfo

      public FirmwareUpdateResultInfo getFirmwareUpdateResultInfo()
      Returns the firmware update result info.
      Returns:
      the firmware update result info
    • getType

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

      public int hashCode()
      Overrides:
      hashCode in class AbstractEvent
    • equals

      public boolean equals(@Nullable Object obj)
      Overrides:
      equals in class AbstractEvent
    • toString

      public String toString()
      Overrides:
      toString in class Object