/** * Copyright (c) 2010-2016 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ package org.openhab.binding.garadget; import org.openhab.binding.garadget.internal.GaradgetBindingConfig; import org.openhab.core.autoupdate.AutoUpdateBindingProvider; /** * This interface is implemented by classes that can provide mapping information * between openHAB items and Garadget devices. * * @author John Cocula * @since 1.9.0 */ public interface GaradgetBindingProvider extends AutoUpdateBindingProvider { /** * Returns the binding configuration for the item with the given name. * * @param itemName * @return The configuration if there is an item with the given name, null * otherwise. */ public GaradgetBindingConfig getItemBindingConfig(String itemName); }