Package org.openhab.core.addon
Class AddonInfo.Builder
java.lang.Object
org.openhab.core.addon.AddonInfo.Builder
- Enclosing class:
 - AddonInfo
 
- 
Method Summary
Modifier and TypeMethodDescriptionbuild()Build anAddonInfofrom this builderisMasterAddonInfo(boolean masterAddonInfo) withConfigDescriptionURI(@Nullable String configDescriptionURI) withConnection(@Nullable String connection) withCountries(@Nullable String countries) withCountries(List<String> countries) withDescription(String description) withDiscoveryMethods(@Nullable List<AddonDiscoveryMethod> discoveryMethods) withServiceId(@Nullable String serviceId) withSourceBundle(@Nullable String sourceBundle)  
- 
Method Details
- 
withUID
 - 
withName
 - 
withDescription
 - 
withConnection
 - 
withCountries
 - 
withCountries
 - 
withConfigDescriptionURI
 - 
withServiceId
 - 
withSourceBundle
 - 
withDiscoveryMethods
public AddonInfo.Builder withDiscoveryMethods(@Nullable List<AddonDiscoveryMethod> discoveryMethods)  - 
isMasterAddonInfo
 - 
build
Build anAddonInfofrom this builder- Returns:
 - the add-on info object
 - Throws:
 IllegalArgumentException- if any of the information in this builder is invalid
 
 -