Uses of Class
org.openhab.core.thing.profiles.ProfileTypeBuilder
-
Uses of ProfileTypeBuilder in org.openhab.core.thing.profiles
Modifier and TypeMethodDescriptionstatic ProfileTypeBuilder<StateProfileType>
ProfileTypeBuilder.newState
(ProfileTypeUID profileTypeUID, String label) Obtain a new builder for aStateProfileType
instance.static ProfileTypeBuilder<TriggerProfileType>
ProfileTypeBuilder.newTrigger
(ProfileTypeUID profileTypeUID, String label) Obtain a new builder for aTriggerProfileType
instance.ProfileTypeBuilder.withSupportedChannelTypeUIDs
(Collection<ChannelTypeUID> channelTypeUIDs) Declare that the given channel type(s) are supported by a profile of this type.ProfileTypeBuilder.withSupportedChannelTypeUIDs
(ChannelTypeUID... channelTypeUIDs) Declare that the given channel type(s) are supported by a profile of this type.ProfileTypeBuilder.withSupportedItemTypes
(String... itemType) Declare that the given item type(s) are supported by a profile of this type.ProfileTypeBuilder.withSupportedItemTypes
(Collection<String> itemTypes) Declare that the given item type(s) are supported by a profile of this type.ProfileTypeBuilder.withSupportedItemTypesOfChannel
(String... supportedItemTypesOfChannel) Declare that channels with these item type(s) are compatible with profiles of this type.ProfileTypeBuilder.withSupportedItemTypesOfChannel
(Collection<String> supportedItemTypesOfChannel) Declare that channels with these item type(s) are compatible with profiles of this type.