]> git.basschouten.com Git - openhab-addons.git/blob
d041f14736fc9334be1c3882b6b366b4938841b3
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2024 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.pushover.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
17
18 /**
19  * The {@link PushoverBindingConstants} class defines common constants, which are used across the whole binding.
20  *
21  * @author Christoph Weitkamp - Initial contribution
22  */
23 @NonNullByDefault
24 public class PushoverBindingConstants {
25
26     private static final String BINDING_ID = "pushover";
27
28     public static final ThingTypeUID PUSHOVER_ACCOUNT = new ThingTypeUID(BINDING_ID, "pushover-account");
29
30     public static final String CONFIG_SOUND = "sound";
31
32     public static final String DEFAULT_SOUND = "default";
33     public static final String DEFAULT_TITLE = "openHAB";
34
35     public static final String TEXT_OFFLINE_COMMUNICATION_ERROR = "@text/offline.communication-error";
36     public static final String TEXT_OFFLINE_CONF_ERROR_MISSING_APIKEY = "@text/offline.conf-error-missing-apikey";
37     public static final String TEXT_OFFLINE_CONF_ERROR_MISSING_USER = "@text/offline.conf-error-missing-user";
38     public static final String TEXT_OFFLINE_CONF_ERROR_UNKNOWN = "@text/offline.conf-error-unknown";
39     public static final String TEXT_ERROR_SKIP_SENDING_MESSAGE = "@text/error.skip-sending-message";
40 }