]> git.basschouten.com Git - openhab-addons.git/blob
edfefdd7ad96a0f0437c61a5417e4e51e6f02b22
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2020 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 int accessibilityInterval = 3;
37     public int aliveInterval = 5;
38 }