Package org.openhab.core.thing.profiles
Interface StateProfile
- All Superinterfaces:
Profile
- All Known Subinterfaces:
TimeSeriesProfile
- All Known Implementing Classes:
ScriptProfile
A
StateProfile
defined the communication for channels of STATE kind.- Author:
- Simon Kaufmann - Initial contribution
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onCommandFromHandler
(Command command) If a binding issued a command to a channel, this method will be called for each linked item.void
onCommandFromItem
(Command command) Will be called if a command should be forwarded to the binding.void
onStateUpdateFromHandler
(State state) If the binding indicated a state update on a channel, then this method will be called for each linked item.Methods inherited from interface org.openhab.core.thing.profiles.Profile
getProfileTypeUID, onStateUpdateFromItem
-
Method Details
-
onCommandFromItem
Will be called if a command should be forwarded to the binding.- Parameters:
command
-
-
onCommandFromHandler
If a binding issued a command to a channel, this method will be called for each linked item.- Parameters:
command
-
-
onStateUpdateFromHandler
If the binding indicated a state update on a channel, then this method will be called for each linked item.- Parameters:
state
-
-