]> git.basschouten.com Git - openhab-addons.git/blob
fd6c5dced9abafaf93f37865f83e9ce1ee7b3a64
[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.remoteopenhab.internal.config;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * The {@link RemoteopenhabServerConfiguration} is responsible for holding
19  * configuration informations associated to a remote openHAB server
20  * thing type
21  *
22  * @author Laurent Garnier - Initial contribution
23  */
24 @NonNullByDefault
25 public class RemoteopenhabServerConfiguration {
26     public static final String HOST = "host";
27     public static final String PORT = "port";
28     public static final String REST_PATH = "restPath";
29
30     public String host = "";
31     public boolean useHttps = false;
32     public int port = 8080;
33     public boolean trustedCertificate = false;
34     public String restPath = "/rest/";
35     public String token = "";
36     public String username = "";
37     public String password = "";
38     public boolean authenticateAnyway = false;
39     public int accessibilityInterval = 3;
40     public int aliveInterval = 5;
41     public boolean restartIfNoActivity = false;
42 }