Package org.openhab.core.thing.profiles
Interface TriggerProfile
- All Superinterfaces:
Profile
A
TriggerProfile
specifies the communication between the framework and the handler for trigger channels.
Although trigger channels by their nature do not have a state, it becomes possible to link such trigger channels to
items using such a profile.
The main purpose of a TriggerProfile
is to listen to triggered events and use them to calculate a meaningful
state.
- Author:
- Simon Kaufmann - Initial contribution
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onTriggerFromHandler
(String event) Will be called whenever the binding intends to issue a trigger event.Methods inherited from interface org.openhab.core.thing.profiles.Profile
getProfileTypeUID, onStateUpdateFromItem
-
Method Details
-
onTriggerFromHandler
Will be called whenever the binding intends to issue a trigger event.- Parameters:
event
- the event payload
-