Package org.openhab.core.service
Class ReadyMarkerFilter
java.lang.Object
org.openhab.core.service.ReadyMarkerFilter
Filter for
ReadyMarker
s which a ReadyTracker is interested in.
By default, this filter will match any ReadyMarker
.- Author:
- Simon Kaufmann - Initial contribution
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
apply
(ReadyMarker readyMarker) withIdentifier
(@Nullable String identifier) Returns aReadyMarkerFilter
restricted to the given identifier.Returns aReadyMarkerFilter
restricted to the given type.
-
Constructor Details
-
ReadyMarkerFilter
public ReadyMarkerFilter()
-
-
Method Details
-
apply
-
withType
Returns aReadyMarkerFilter
restricted to the given type.- Parameters:
type
-- Returns:
-
withIdentifier
Returns aReadyMarkerFilter
restricted to the given identifier.- Parameters:
identifier
-- Returns:
-