Uses of Interface
org.openhab.core.voice.text.AbstractRuleBasedInterpreter.ItemCommandSupplier
-
Uses of AbstractRuleBasedInterpreter.ItemCommandSupplier in org.openhab.core.voice.text
Modifier and TypeMethodDescriptionprotected Expression
AbstractRuleBasedInterpreter.cmd
(Object expression, @Nullable AbstractRuleBasedInterpreter.ItemCommandSupplier command) Adds command resolver to the resulting AST tree, if the expression matches.protected String
AbstractRuleBasedInterpreter.executeCustom
(ResourceBundle language, AbstractRuleBasedInterpreter.ItemCommandSupplier itemCommandSupplier, Rule.InterpretationContext context) Executes a custom rule command.protected String
AbstractRuleBasedInterpreter.executeSingle
(ResourceBundle language, String[] labelFragments, AbstractRuleBasedInterpreter.ItemCommandSupplier commandSupplier, Rule.InterpretationContext context) Executes a command on one item that's to be found in the item registry by given name fragments.AbstractRuleBasedInterpreter.getMatchingItems
(ResourceBundle language, String[] labelFragments, @Nullable AbstractRuleBasedInterpreter.ItemCommandSupplier commandSupplier, Rule.InterpretationContext context) Filters the item registry by matching each item's name with the provided name fragments.