]> git.basschouten.com Git - openhab-addons.git/blob
ff36bd7e9f452d64a7705f986b514e534855d7c5
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2024 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.insteon.internal.device;
14
15 import java.util.Map;
16
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18
19 /**
20  * Ugly little helper class to facilitate late instantiation of handlers
21  *
22  * @author Bernd Pfrommer - Initial contribution
23  * @author Rob Nielsen - Port to openHAB 2 insteon binding
24  */
25 @NonNullByDefault
26 public class HandlerEntry {
27     Map<String, String> params;
28     String name;
29
30     HandlerEntry(String name, Map<String, String> params) {
31         this.name = name;
32         this.params = params;
33     }
34
35     Map<String, String> getParams() {
36         return params;
37     }
38
39     String getName() {
40         return name;
41     }
42 }