Uses of Record Class
org.openhab.core.voice.text.Rule.InterpretationContext
-
Uses of Rule.InterpretationContext in org.openhab.core.voice.text
Modifier and TypeMethodDescriptionprotected 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.abstract InterpretationResult
Rule.interpretAST
(ResourceBundle language, ASTNode node, Rule.InterpretationContext context) Will get called after the expression was successfully parsed.