]> git.basschouten.com Git - openhab-addons.git/blob
1a7e1c35974c8a3d19b6e1546d882b6c7897e326
[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.opengarage.internal.api;
14
15 import org.slf4j.Logger;
16 import org.slf4j.LoggerFactory;
17
18 /**
19  * Container class for enums related to opengarage
20  *
21  * @author Paul Smedley - Initial contribution
22  *
23  */
24 public class Enums {
25     public enum OpenGarageCommand {
26         OPEN("open"),
27         CLOSE("close"),
28         CLICK("click");
29
30         private static final Logger LOGGER = LoggerFactory.getLogger(OpenGarageCommand.class);
31         private final String value;
32
33         OpenGarageCommand(String value) {
34             this.value = value;
35         }
36
37         public String getValue() {
38             return value;
39         }
40     }
41 }