]> git.basschouten.com Git - openhab-addons.git/blob
06a846e1d7c594c97f7bb3f9fc614166ede7bff7
[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.io.mqttembeddedbroker.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
17
18 /**
19  * Configuration of the {@link EmbeddedBrokerService}.
20  *
21  * @author David Graeff - Initial contribution
22  */
23 @NonNullByDefault
24 public class ServiceConfiguration {
25     public @Nullable Integer port;
26     public Boolean secure = false;
27     public String persistenceFile = "mqttembedded.bin";
28
29     public @Nullable String username;
30     public @Nullable String password;
31 }