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