Uses of Record Class
org.openhab.core.voice.text.AbstractRuleBasedInterpreter.ItemFilter
-
Uses of AbstractRuleBasedInterpreter.ItemFilter in org.openhab.core.voice.text
Modifier and TypeMethodDescriptionAbstractRuleBasedInterpreter.ItemFilter.all()
AbstractRuleBasedInterpreter.ItemFilter.forSimilarItem
(Item item, @Nullable Metadata semantic) Rule.InterpretationContext.itemFilter()
Returns the value of theitemFilter
record component.Modifier and TypeMethodDescriptionprotected Rule
AbstractRuleBasedInterpreter.customCommandRule
(AbstractRuleBasedInterpreter.ItemFilter itemFilter, Object cmdExpression, boolean isForced, boolean isSilent) Creates a custom rule on base of a expression.protected Rule
AbstractRuleBasedInterpreter.customDynamicRule
(Item item, AbstractRuleBasedInterpreter.ItemFilter itemFilter, Object headExpression, @Nullable Object tailExpression, boolean isForced, boolean isSilent) Creates a custom rule on base of a head and a tail expression, where the middle part of the new rule's expression will consist of a free command to be captured.protected Rule
AbstractRuleBasedInterpreter.restrictedDynamicItemRule
(Item item, AbstractRuleBasedInterpreter.ItemFilter itemFilter, Object headExpression, Object midExpression, @Nullable Object tailExpression, boolean isNameFirst, boolean isForced, boolean isSilent) Creates an item rule which two dynamic capture values on base of a head a middle and an optional tail expression, where one of the values is an item name expression and the other a free captured value.protected Rule
AbstractRuleBasedInterpreter.restrictedItemRule
(AbstractRuleBasedInterpreter.ItemFilter itemFilter, Object headExpression, @Nullable Object tailExpression, boolean isForced, boolean isSilent) Creates an item rule on base of a head and a tail expression, where the middle part of the new rule's ex ression will consist of an item name expression.ModifierConstructorDescriptionInterpretationContext
(AbstractRuleBasedInterpreter.ItemFilter itemFilter, boolean isForced, boolean isSilent, @Nullable String locationItem) Creates an instance of aInterpretationContext
record class.Rule
(Expression expression, AbstractRuleBasedInterpreter.ItemFilter itemFilter, boolean isForced, boolean isSilent) Constructs a new instance.