]> git.basschouten.com Git - openhab-addons.git/blob
0dc66288b73216e4aa820cdde1b034624b042a0a
[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.openwebnet.internal.handler.config;
14
15 import java.math.BigDecimal;
16
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import org.eclipse.jdt.annotation.Nullable;
19
20 /**
21  * BUS Bridge configuration object
22  *
23  * @author Massimo Valla - Initial contribution
24  *
25  */
26 @NonNullByDefault
27 public class OpenWebNetBusBridgeConfig {
28
29     private BigDecimal port = new BigDecimal(20000);
30     private @Nullable String host;
31     private String passwd = "12345";
32     private boolean discoveryByActivation = false;
33     private boolean dateTimeSynch = false;
34
35     public BigDecimal getPort() {
36         return port;
37     }
38
39     public @Nullable String getHost() {
40         return host;
41     }
42
43     public String getPasswd() {
44         return passwd;
45     }
46
47     public Boolean getDiscoveryByActivation() {
48         return discoveryByActivation;
49     }
50
51     public Boolean getDateTimeSynch() {
52         return dateTimeSynch;
53     }
54 }