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.network.internal;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
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.
22 * @author David Graeff - Initial contribution
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;