]> git.basschouten.com Git - openhab-addons.git/blob
fa5d3be72e416f707d3763d9679d2a776b73477f
[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
34     public BigDecimal getPort() {
35         return port;
36     }
37
38     public @Nullable String getHost() {
39         return host;
40     }
41
42     public String getPasswd() {
43         return passwd;
44     }
45
46     public Boolean getDiscoveryByActivation() {
47         return discoveryByActivation;
48     }
49 }