]> git.basschouten.com Git - openhab-addons.git/blob
b581f6ea0e84e65b265bc67c2f8dc11d5cd21fe7
[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.sinope.internal;
14
15 /**
16  * The {@link SinopeConfigStatusMessage} defines
17  * the keys to be used for {@link org.openhab.core.config.core.status.ConfigStatusMessage}s.
18  *
19  * @author Pascal Larin - Initial Contribution
20  *
21  */
22 public enum SinopeConfigStatusMessage {
23     HOST_MISSING("missing-host-configuration"),
24     PORT_MISSING("missing-port-configuration"),
25     GATEWAY_ID_INVALID("invalid-gateway-id-configuration"),
26     API_KEY_INVALID("invalid-api-key-configuration");
27
28     private String messageKey;
29
30     private SinopeConfigStatusMessage(String messageKey) {
31         this.messageKey = messageKey;
32     }
33
34     public String getMessageKey() {
35         return messageKey;
36     }
37 }