/** * 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.enigma2; import org.openhab.binding.enigma2.internal.Enigma2BindingConfig; import org.openhab.core.binding.BindingProvider; import org.openhab.core.items.Item; /** * @author Sebastian Kutschbach * @since 1.6.0 */ public interface Enigma2BindingProvider extends BindingProvider { /** * Lookup method for binding configs * * @param itemName * name of the item * @return the binding config for the item with the name itemName */ public Enigma2BindingConfig getBindingConfigFor(String itemName); /** * Returns the class for the item * * @param name name of the item * @return the class of the item with the name itemName */ public Class<? extends Item> getItemType(String name); }