]> git.basschouten.com Git - openhab-addons.git/blob
591d2565cf13c977c016045da815aaaf69ef523f
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2020 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.enigma2.actions;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * The {@link IEnigma2Actions} defines the interface for all thing actions supported by the binding.
19  *
20  * @author Guido Dolfen - Initial contribution
21  */
22 @NonNullByDefault
23 public interface IEnigma2Actions {
24     void sendRcCommand(String rcButton);
25
26     void sendInfo(String text);
27
28     void sendInfo(String text, int timeout);
29
30     void sendWarning(String text);
31
32     void sendWarning(String text, int timeout);
33
34     void sendError(String text);
35
36     void sendError(String text, int timeout);
37
38     void sendQuestion(String text);
39
40     void sendQuestion(String text, int timeout);
41 }