]> git.basschouten.com Git - openhab-addons.git/blob
87c94d76704a18c3019fc463f6d655419d2b5108
[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.network.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
17
18 /**
19  * Contains the handler configuration and default values. The field names represent the configuration names,
20  * do not rename them if you don't intend to break the configuration interface.
21  *
22  * @author David Graeff - Initial contribution
23  */
24 @NonNullByDefault
25 public class NetworkHandlerConfiguration {
26     public String hostname = "";
27     public String macAddress = "";
28     public @Nullable Integer port;
29     public Integer retry = 1;
30     public Integer refreshInterval = 60000;
31     public Integer timeout = 5000;
32 }