2 * Copyright (c) 2010-2022 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.knx.internal.config;
15 import java.math.BigDecimal;
17 import org.eclipse.jdt.annotation.NonNullByDefault;
20 * {@link org.openhab.binding.knx.internal.handler.KNXBridgeBaseThingHandler} configuration
22 * @author Simon Kaufmann - initial contribution and API
26 public class BridgeConfiguration {
27 private int autoReconnectPeriod = 0;
28 private BigDecimal readingPause = BigDecimal.valueOf(0);
29 private BigDecimal readRetriesLimit = BigDecimal.valueOf(0);
30 private BigDecimal responseTimeout = BigDecimal.valueOf(0);
32 public int getAutoReconnectPeriod() {
33 return autoReconnectPeriod;
36 public BigDecimal getReadingPause() {
40 public BigDecimal getReadRetriesLimit() {
41 return readRetriesLimit;
44 public BigDecimal getResponseTimeout() {
45 return responseTimeout;
48 public void setAutoReconnectPeriod(int period) {
49 autoReconnectPeriod = period;