Enum Class FirmwareUpdateResult

java.lang.Object
java.lang.Enum<FirmwareUpdateResult>
org.openhab.core.thing.firmware.FirmwareUpdateResult
All Implemented Interfaces:
Serializable, Comparable<FirmwareUpdateResult>, Constable

@NonNullByDefault public enum FirmwareUpdateResult extends Enum<FirmwareUpdateResult>
The FirmwareUpdateResult enumeration defines the possible results for a firmware update.
Author:
Thomas Höfer - Initial contribution
  • Enum Constant Details

    • SUCCESS

      public static final FirmwareUpdateResult SUCCESS
      Indicates that the firmware update was successful.
    • ERROR

      public static final FirmwareUpdateResult ERROR
      Indicates that the firmware update has failed.
    • CANCELED

      public static final FirmwareUpdateResult CANCELED
      Indicates that the firmware update was canceled.
  • Method Details

    • values

      public static FirmwareUpdateResult[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FirmwareUpdateResult valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null