2 * Copyright (c) 2010-2024 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
7 * This program and the accompanying materials are made available under the
8 * terms of the Eclipse Public License 2.0 which is available at
9 * http://www.eclipse.org/legal/epl-2.0
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.insteon.internal.config;
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import org.openhab.binding.insteon.internal.device.InsteonAddress;
19 import org.openhab.core.thing.ChannelUID;
23 * This file contains config information needed for each channel
25 * @author Rob Nielsen - Initial contribution
28 public class InsteonChannelConfiguration {
30 private final ChannelUID channelUID;
31 private final String channelName;
32 private final InsteonAddress address;
33 private final String feature;
34 private final String productKey;
35 private final Map<String, String> parameters;
37 public InsteonChannelConfiguration(ChannelUID channelUID, String feature, InsteonAddress address, String productKey,
38 Map<String, String> parameters) {
39 this.channelUID = channelUID;
40 this.feature = feature;
41 this.address = address;
42 this.productKey = productKey;
43 this.parameters = parameters;
45 this.channelName = channelUID.getAsString();
48 public ChannelUID getChannelUID() {
52 public String getChannelName() {
56 public InsteonAddress getAddress() {
60 public String getFeature() {
64 public String getProductKey() {
68 public Map<String, String> getParameters() {