]> git.basschouten.com Git - openhab-addons.git/blob
130cc22d10f87184af90ac37ca376d2db76eb599
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 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.pilight.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * The {@link PilightBridgeConfiguration} class contains fields mapping thing configuration parameters.
19  *
20  * @author Stefan Röllin - Initial contribution
21  * @author Niklas Dörfler - Port pilight binding to openHAB 3 + add device discovery
22  */
23 @NonNullByDefault
24 public class PilightBridgeConfiguration {
25
26     private String ipAddress = "";
27     private int port = 0;
28     private int delay = 500;
29
30     public String getIpAddress() {
31         return ipAddress;
32     }
33
34     public void setIpAddress(String ipAddress) {
35         this.ipAddress = ipAddress;
36     }
37
38     public Integer getPort() {
39         return port;
40     }
41
42     public void setPort(Integer port) {
43         this.port = port;
44     }
45
46     public int getDelay() {
47         return delay;
48     }
49
50     public void setDelay(Integer delay) {
51         this.delay = delay;
52     }
53 }