Uses of Class
org.openhab.core.config.core.Configuration
Package
Description
-
Uses of Configuration in org.openhab.core.automation
Modifier and TypeMethodDescriptionModule.getConfiguration()
Gets the configuration values of theModule
.Rule.getConfiguration()
This method is used to obtain theRule
'sConfiguration
. -
Uses of Configuration in org.openhab.core.automation.handler
Modifier and TypeMethodDescriptionprotected Configuration
BaseModuleHandler.getConfig()
Returns the configuration of the module. -
Uses of Configuration in org.openhab.core.automation.util
Modifier and TypeMethodDescriptionstatic RuleBuilder
RuleBuilder.create
(RuleTemplate template, String uid, @Nullable String name, Configuration configuration, Visibility visibility) static void
ConfigurationNormalizer.normalizeConfiguration
(Configuration configuration, Map<String, ConfigDescriptionParameter> configDescriptionMap) Normalizes the types of the configuration's parameters to the allowed ones.static void
ReferenceResolver.updateConfiguration
(Configuration config, Map<String, ?> context, org.slf4j.Logger logger) Updates (changes) configuration properties of module base on given context (it can be CompositeModule Configuration or Rule Configuration).ModuleBuilder.withConfiguration
(Configuration configuration) RuleBuilder.withConfiguration
(@Nullable Configuration ruleConfiguration) -
Uses of Configuration in org.openhab.core.config.core
Modifier and TypeMethodDescriptionConfigurationDeserializer.deserialize
(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) Modifier and TypeMethodDescriptionstatic void
ConfigUtil.applyDefaultConfiguration
(Configuration configuration, @Nullable ConfigDescription configDescription) Applies the default values from a giveConfigDescription
to the givenConfiguration
.com.google.gson.JsonElement
ConfigurationSerializer.serialize
(Configuration src, Type typeOfSrc, com.google.gson.JsonSerializationContext context) ModifierConstructorDescriptionConfiguration
(@Nullable Configuration configuration) Create a new configuration. -
Uses of Configuration in org.openhab.core.io.rest.core.config
Modifier and TypeMethodDescriptionDeletes a configuration for a config id.@Nullable Configuration
Returns a configuration for a config id.ConfigurationService.update
(String configId, Configuration newConfiguration) Creates or updates a configuration for a config id.ConfigurationService.update
(String configId, Configuration newConfiguration, boolean override) Creates or updates a configuration for a config id.Modifier and TypeMethodDescriptionConfigurationService.update
(String configId, Configuration newConfiguration) Creates or updates a configuration for a config id.ConfigurationService.update
(String configId, Configuration newConfiguration, boolean override) Creates or updates a configuration for a config id. -
Uses of Configuration in org.openhab.core.model.item
Modifier and TypeMethodDescriptionvoid
BindingConfigReader.processBindingConfiguration
(String context, String itemType, String itemName, String bindingConfig, Configuration configuration) This method is called by theGenericItemProvider
whenever it comes across a binding configuration string for an item. -
Uses of Configuration in org.openhab.core.thing
Modifier and TypeMethodDescriptionChannel.getConfiguration()
Returns the channel configurationThing.getConfiguration()
Gets the configuration.Modifier and TypeMethodDescription@Nullable Thing
ThingRegistry.createThingOfType
(ThingTypeUID thingTypeUID, @Nullable ThingUID thingUID, @Nullable ThingUID bridgeUID, @Nullable String label, Configuration configuration) Creates a thing based on the given configuration propertiesvoid
ThingTypeMigrationService.migrateThingType
(Thing thing, ThingTypeUID thingTypeUID, @Nullable Configuration configuration) Changes the type of a givenThing
.ModifierConstructorDescriptionprotected
Channel
(ChannelUID uid, @Nullable ChannelTypeUID channelTypeUID, @Nullable String acceptedItemType, ChannelKind kind, @Nullable Configuration configuration, Set<String> defaultTags, @Nullable Map<String, String> properties, @Nullable String label, @Nullable String description, @Nullable AutoUpdatePolicy autoUpdatePolicy) Use theChannelBuilder
for building channels. -
Uses of Configuration in org.openhab.core.thing.binding
Modifier and TypeMethodDescriptionprotected Configuration
BaseThingHandler.editConfiguration()
Returns a copy of the configuration, that can be modified.protected Configuration
BaseThingHandler.getConfig()
Returns the configuration of the thing.Modifier and TypeMethodDescriptionprotected void
BaseThingHandler.changeThingType
(ThingTypeUID thingTypeUID, Configuration configuration) @Nullable Thing
BaseThingHandlerFactory.createThing
(ThingTypeUID thingTypeUID, Configuration configuration, @Nullable ThingUID thingUID, @Nullable ThingUID bridgeUID) Creates a thing based on given thing type uid.protected @Nullable Thing
BaseThingHandlerFactory.createThing
(ThingTypeUID thingTypeUID, Configuration configuration, ThingUID thingUID) Creates a thing based on given thing type uid.static @Nullable Thing
ThingFactory.createThing
(ThingUID thingUID, Configuration configuration, @Nullable Map<String, String> properties, @Nullable ThingUID bridgeUID, ThingTypeUID thingTypeUID, List<ThingHandlerFactory> thingHandlerFactories) static Thing
ThingFactory.createThing
(ThingType thingType, ThingUID thingUID, Configuration configuration) Creates a thing based on given thing type.static Thing
ThingFactory.createThing
(ThingType thingType, ThingUID thingUID, Configuration configuration, @Nullable ThingUID bridgeUID) Creates a thing based on a given thing type.static Thing
ThingFactory.createThing
(ThingType thingType, ThingUID thingUID, Configuration configuration, @Nullable ThingUID bridgeUID, @Nullable ConfigDescriptionRegistry configDescriptionRegistry) Creates a thing based on a given thing type.@Nullable Thing
ThingHandlerFactory.createThing
(ThingTypeUID thingTypeUID, Configuration configuration, @Nullable ThingUID thingUID, @Nullable ThingUID bridgeUID) Creates a thing for given arguments.void
ThingHandlerCallback.migrateThingType
(Thing thing, ThingTypeUID thingTypeUID, Configuration configuration) Informs the framework that the ThingType of the givenThing
should be changed.protected void
BaseThingHandler.updateConfiguration
(Configuration configuration) Updates the configuration of the thing and informs the framework about it.protected void
ConfigStatusBridgeHandler.updateConfiguration
(Configuration configuration) protected void
ConfigStatusThingHandler.updateConfiguration
(Configuration configuration) -
Uses of Configuration in org.openhab.core.thing.binding.builder
Modifier and TypeMethodDescriptionBridgeBuilder.withConfiguration
(Configuration thingConfiguration) ChannelBuilder.withConfiguration
(Configuration configuration) Appends aConfiguration
to theChannel
to be build.ThingBuilder.withConfiguration
(Configuration configuration) Set (or replace) the configuration of the thing -
Uses of Configuration in org.openhab.core.thing.dto
ModifierConstructorDescriptionChannelDTO
(ChannelUID uid, String channelTypeUID, String itemType, ChannelKind kind, String label, String description, Map<String, String> properties, Configuration configuration, Set<String> defaultTags, AutoUpdatePolicy autoUpdatePolicy) -
Uses of Configuration in org.openhab.core.thing.link
ModifierConstructorDescriptionItemChannelLink
(String itemName, ChannelUID channelUID, Configuration configuration) -
Uses of Configuration in org.openhab.core.thing.profiles
Modifier and TypeMethodDescriptionProfileContext.getConfiguration()
Get the profile's configuration object