2 * Copyright (c) 2010-2023 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.openwebnet.internal.handler.config;
15 import java.math.BigDecimal;
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import org.eclipse.jdt.annotation.Nullable;
21 * BUS Bridge configuration object
23 * @author Massimo Valla - Initial contribution
27 public class OpenWebNetBusBridgeConfig {
29 private BigDecimal port = new BigDecimal(20000);
30 private @Nullable String host;
31 private String passwd = "12345";
32 private boolean discoveryByActivation = false;
34 public BigDecimal getPort() {
38 public @Nullable String getHost() {
42 public String getPasswd() {
46 public Boolean getDiscoveryByActivation() {
47 return discoveryByActivation;