]> git.basschouten.com Git - openhab-addons.git/blob
526f07a3cb90a8ccc28009a223613025d4daa66f
[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.lametrictime.internal.api.dto;
14
15 /**
16  * Class for managing the core apps.
17  *
18  * @author Gregory Moyer - Initial contribution
19  */
20 public class CoreApps {
21     private static final ClockApp CLOCK = new ClockApp();
22     private static final CountdownApp COUNTDOWN = new CountdownApp();
23     private static final RadioApp RADIO = new RadioApp();
24     private static final StopwatchApp STOPWATCH = new StopwatchApp();
25     private static final WeatherApp WEATHER = new WeatherApp();
26
27     public static ClockApp clock() {
28         return CLOCK;
29     }
30
31     public static CountdownApp countdown() {
32         return COUNTDOWN;
33     }
34
35     public static RadioApp radio() {
36         return RADIO;
37     }
38
39     public static StopwatchApp stopwatch() {
40         return STOPWATCH;
41     }
42
43     public static WeatherApp weather() {
44         return WEATHER;
45     }
46
47     // @formatter:off
48     private CoreApps() {}
49     // @formatter:on
50 }