From 5d28009393c427e256fb92e738fef46487bc00e9 Mon Sep 17 00:00:00 2001 From: Andras Uhrin Date: Sat, 12 Nov 2022 17:49:10 +0100 Subject: [PATCH] Refactoring to dynamic channel creation Refactoring to dynamic channel creation Signed-off-by: Andras Uhrin --- .../FreeAtHomeBridgeHandlerConfiguration.java | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 bundles/org.openhab.binding.freeathomesystem/src/main/java/org/openhab/binding/freeathomesystem/internal/configuration/FreeAtHomeBridgeHandlerConfiguration.java diff --git a/bundles/org.openhab.binding.freeathomesystem/src/main/java/org/openhab/binding/freeathomesystem/internal/configuration/FreeAtHomeBridgeHandlerConfiguration.java b/bundles/org.openhab.binding.freeathomesystem/src/main/java/org/openhab/binding/freeathomesystem/internal/configuration/FreeAtHomeBridgeHandlerConfiguration.java new file mode 100644 index 0000000000000..8932bede8ac36 --- /dev/null +++ b/bundles/org.openhab.binding.freeathomesystem/src/main/java/org/openhab/binding/freeathomesystem/internal/configuration/FreeAtHomeBridgeHandlerConfiguration.java @@ -0,0 +1,32 @@ +/** + * Copyright (c) 2010-2022 Contributors to the openHAB project + * + * See the NOTICE file(s) distributed with this work for additional + * information. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0 + * + * SPDX-License-Identifier: EPL-2.0 + */ + +package org.openhab.binding.freeathomesystem.internal.configuration; + +import org.eclipse.jdt.annotation.NonNullByDefault; + +/** + * The {@link FreeAtHomeBridgeHandlerConfiguration} class contains fields mapping thing configuration parameters. + * + * @author Andras Uhrin - Initial contribution + */ +@NonNullByDefault +public class FreeAtHomeBridgeHandlerConfiguration { + + /** + * Bridgeconfiguration parameter. + */ + public String ipaddress = ""; + public String username = ""; + public String password = ""; +}