2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.sinope.internal;
16 * The {@link SinopeConfigStatusMessage} defines
17 * the keys to be used for {@link ConfigStatusMessage}s.
19 * @author Pascal Larin - Initial Contribution
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");
28 private String messageKey;
30 private SinopeConfigStatusMessage(String messageKey) {
31 this.messageKey = messageKey;
34 public String getMessageKey() {