2 * Copyright (c) 2010-2024 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.network.internal;
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import org.eclipse.jdt.annotation.Nullable;
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.
24 * @author David Graeff - Initial contribution
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();