Uses of Class
org.openhab.core.types.StateDescription
Package
Description
-
Uses of StateDescription in org.openhab.core.io.rest.core.item
ModifierConstructorDescriptionEnrichedGroupItemDTO
(ItemDTO itemDTO, EnrichedItemDTO[] members, String link, String state, String transformedState, StateDescription stateDescription, String unitSymbol) EnrichedItemDTO
(ItemDTO itemDTO, String link, String state, String transformedState, StateDescription stateDescription, CommandDescription commandDescription, String unitSymbol) -
Uses of StateDescription in org.openhab.core.items
Modifier and TypeMethodDescription@Nullable StateDescription
GenericItem.getStateDescription()
@Nullable StateDescription
GenericItem.getStateDescription
(@Nullable Locale locale) @Nullable StateDescription
Item.getStateDescription()
Returns the first provided state description (uses the default locale).@Nullable StateDescription
Item.getStateDescription
(@Nullable Locale locale) Returns the first provided state description for a given locale. -
Uses of StateDescription in org.openhab.core.library.items
Modifier and TypeMethodDescription@Nullable StateDescription
NumberItem.getStateDescription
(@Nullable Locale locale) -
Uses of StateDescription in org.openhab.core.service
Modifier and TypeMethodDescription@Nullable StateDescription
StateDescriptionService.getStateDescription
(String itemName, @Nullable Locale locale) Implementations of this method merge the StateDescriptions provided from multiple StateDescriptionProviders into one final StateDescription. -
Uses of StateDescription in org.openhab.core.thing.binding
Modifier and TypeMethodDescription@Nullable StateDescription
BaseDynamicStateDescriptionProvider.getStateDescription
(Channel channel, @Nullable StateDescription original, @Nullable Locale locale) Modifier and TypeMethodDescription@Nullable StateDescription
BaseDynamicStateDescriptionProvider.getStateDescription
(Channel channel, @Nullable StateDescription original, @Nullable Locale locale) -
Uses of StateDescription in org.openhab.core.thing.dto
Modifier and TypeFieldDescriptionChannelDefinitionDTO.stateDescription
ChannelTypeDTO.stateDescription
ModifierConstructorDescriptionChannelDefinitionDTO
(String id, String typeUID, String label, String description, Set<String> tags, String category, StateDescription stateDescription, boolean advanced, Map<String, String> properties) ChannelTypeDTO
(String uid, String label, String description, String category, String itemType, String unitHint, ChannelKind kind, List<ConfigDescriptionParameterDTO> parameters, List<ConfigDescriptionParameterGroupDTO> parameterGroups, StateDescription stateDescription, Set<String> tags, boolean advanced, CommandDescription commandDescription) -
Uses of StateDescription in org.openhab.core.thing.i18n
Modifier and TypeMethodDescription@Nullable StateDescriptionFragment
ChannelTypeI18nLocalizationService.createLocalizedStateDescriptionFragment
(org.osgi.framework.Bundle bundle, @Nullable StateDescription state, ChannelTypeUID channelTypeUID, @Nullable Locale locale) -
Uses of StateDescription in org.openhab.core.thing.type
Modifier and TypeMethodDescription@Nullable StateDescription
ChannelType.getState()
Returns theStateDescription
of an items state which gives information how to interpret it.@Nullable StateDescription
DynamicStateDescriptionProvider.getStateDescription
(Channel channel, @Nullable StateDescription originalStateDescription, @Nullable Locale locale) For a givenChannel
, return aStateDescription
that should be used for the channel, instead of the one defined statically in theChannelType
.Modifier and TypeMethodDescription@Nullable StateDescription
DynamicStateDescriptionProvider.getStateDescription
(Channel channel, @Nullable StateDescription originalStateDescription, @Nullable Locale locale) For a givenChannel
, return aStateDescription
that should be used for the channel, instead of the one defined statically in theChannelType
.ModifierConstructorDescriptionprotected
ChannelType
(ChannelTypeUID uid, boolean advanced, @Nullable String itemType, @Nullable String unitHint, ChannelKind kind, String label, @Nullable String description, @Nullable String category, @Nullable Set<String> tags, @Nullable StateDescription state, @Nullable CommandDescription commandDescription, @Nullable EventDescription event, @Nullable URI configDescriptionURI, @Nullable AutoUpdatePolicy autoUpdatePolicy) Creates a new instance of this class with the specified parameters. -
Uses of StateDescription in org.openhab.core.types
Modifier and TypeMethodDescription@Nullable StateDescription
StateDescriptionFragment.toStateDescription()
Create and return aStateDescription
from this fragment.Modifier and TypeMethodDescriptionStateDescriptionFragmentBuilder.create
(StateDescription legacy) Creates a builder instance and initializes all fields from the givenStateDescription
.