Class AddonType

java.lang.Object
org.openhab.core.addon.AddonType

@NonNullByDefault public class AddonType extends Object
This class defines an add-on type.
Author:
Kai Kreuzer - Initial contribution
  • Field Details

    • AUTOMATION

      public static final AddonType AUTOMATION
    • BINDING

      public static final AddonType BINDING
    • MISC

      public static final AddonType MISC
    • PERSISTENCE

      public static final AddonType PERSISTENCE
    • TRANSFORMATION

      public static final AddonType TRANSFORMATION
    • UI

      public static final AddonType UI
    • VOICE

      public static final AddonType VOICE
    • DEFAULT_TYPES

      public static final List<AddonType> DEFAULT_TYPES
  • Constructor Details

    • AddonType

      public AddonType(String id, String label)
      Creates a new type instance with the given id and label
      Parameters:
      id -
      label -
  • Method Details

    • getId

      public String getId()
      The id of the type
    • getLabel

      public String getLabel()
      The label of the type to be used for headers (likely to be plural form)
    • hashCode

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

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