]> git.basschouten.com Git - openhab-addons.git/blob
1f38542da3cb822e0d79f6d061f4fabdf51d0591
[openhab-addons.git] /
1 /**
2  * Copyright 2017-2018 Gregory Moyer and contributors.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 package org.openhab.binding.lametrictime.api.model;
17
18 public class CoreApps
19 {
20     private static final ClockApp CLOCK = new ClockApp();
21     private static final CountdownApp COUNTDOWN = new CountdownApp();
22     private static final RadioApp RADIO = new RadioApp();
23     private static final StopwatchApp STOPWATCH = new StopwatchApp();
24     private static final WeatherApp WEATHER = new WeatherApp();
25
26     public static ClockApp clock()
27     {
28         return CLOCK;
29     }
30
31     public static CountdownApp countdown()
32     {
33         return COUNTDOWN;
34     }
35
36     public static RadioApp radio()
37     {
38         return RADIO;
39     }
40
41     public static StopwatchApp stopwatch()
42     {
43         return STOPWATCH;
44     }
45
46     public static WeatherApp weather()
47     {
48         return WEATHER;
49     }
50
51     // @formatter:off
52     private CoreApps() {}
53     // @formatter:on
54 }