Package org.openhab.core.addon
Class AddonInfo
java.lang.Object
org.openhab.core.addon.AddonInfo
- All Implemented Interfaces:
Identifiable<String>
The
AddonInfo
class contains general information about an add-on.
Any add-on information is provided by a AddonInfoProvider
and can also be retrieved through the
AddonInfoRegistry
.
- Author:
- Michael Grammling - Initial contribution, Andre Fuechsel - Made author tag optional, Jan N. Klug - Refactored to cover all add-ons
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AddonInfo.Builder
static AddonInfo.Builder
@Nullable String
Returns the link to a concreteConfigDescription
.@Nullable String
Returns a human-readable description for the add-on (e.g.getId()
Returns the id part of the UIDgetName()
Returns a human-readable name for the add-on (e.g.@Nullable String
getType()
getUID()
Returns an unique identifier for the add-on (e.g.boolean
-
Method Details
-
getUID
Returns an unique identifier for the add-on (e.g. "binding-hue").- Specified by:
getUID
in interfaceIdentifiable<String>
- Returns:
- an identifier for the add-on
-
getId
Returns the id part of the UID- Returns:
- the identifier
-
getName
Returns a human-readable name for the add-on (e.g. "HUE Binding").- Returns:
- a human-readable name for the add-on (neither null, nor empty)
-
getType
-
getServiceId
-
getDescription
Returns a human-readable description for the add-on (e.g. "Discovers and controls HUE bulbs").- Returns:
- a human-readable description for the add-on
-
getConfigDescriptionURI
Returns the link to a concreteConfigDescription
.- Returns:
- the link to a concrete ConfigDescription (could be
null
>)
-
getSourceBundle
-
getConnection
-
getCountries
-
getDiscoveryMethods
-
isMasterAddonInfo
public boolean isMasterAddonInfo() -
builder
-
builder
-