Package org.openhab.core.thing.util
Class ThingHandlerHelper
java.lang.Object
org.openhab.core.thing.util.ThingHandlerHelper
This class provides utility methods related to the
ThingHandler
class.- Author:
- Markus Rathgeb - Initial contribution, Simon Kaufmann - added UNKNOWN
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isHandlerInitialized
(ThingHandler handler) Checks if the thing handler has been initialized.static boolean
isHandlerInitialized
(Thing thing) Checks if the thing handler has been initialized.static boolean
isHandlerInitialized
(ThingStatus thingStatus) Checks if the given state indicates that a thing handler has been initialized.
-
Method Details
-
isHandlerInitialized
Checks if the given state indicates that a thing handler has been initialized.- Returns:
- true if the thing handler has been initialized, otherwise false.
-
isHandlerInitialized
Checks if the thing handler has been initialized.- Returns:
- true if the thing handler has been initialized, otherwise false.
-
isHandlerInitialized
Checks if the thing handler has been initialized.- Returns:
- true if the thing handler has been initialized, otherwise false.
-