Package org.openhab.binding.configadmin.internal.ConfigAdminGenericBindingProvider

Examples of org.openhab.binding.configadmin.internal.ConfigAdminGenericBindingProvider.ConfigAdminBindingConfig


      @Override
      public void run() {
        for (ConfigAdminBindingProvider provider : providers) {
          for (String itemName : provider.getItemNames()) {
            ConfigAdminBindingConfig bindingConfig = provider.getBindingConfig(itemName);
            Configuration config = getConfiguration(bindingConfig);
            postUpdate(config, bindingConfig);
          }
        }
      }
View Full Code Here


  @SuppressWarnings({ "rawtypes", "unchecked" })
  @Override
  protected void internalReceiveCommand(String itemName, Command command) {
    if (configAdmin != null) {
      for (ConfigAdminBindingProvider provider : this.providers) {
        ConfigAdminBindingConfig bindingConfig = provider.getBindingConfig(itemName);
        Configuration config = getConfiguration(bindingConfig);
        if (config != null) {
          Dictionary props = config.getProperties();
          props.put(bindingConfig.configParameter, command.toString());
          try {
View Full Code Here

TOP

Related Classes of org.openhab.binding.configadmin.internal.ConfigAdminGenericBindingProvider.ConfigAdminBindingConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.