Examples of ProgramConfig


Examples of org.openhab.binding.homematic.internal.config.binding.ProgramConfig

      if (!acceptsOnOffType(item)) {
        throw new BindingConfigParseException(
            "Programs can only be attached to items which accepts OnOffType commands, ignoring item "
                + item.getName());
      }
      return new ProgramConfig(helper.program, bindingAction);
    } else if (bindingAction != null) {
      return new ActionConfig(bindingAction);
    } else {
      throw new BindingConfigParseException("Invalid binding: " + bindingConfig);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.