Uses of Class
org.openhab.core.voice.text.Rule
Packages that use Rule
-
Uses of Rule in org.openhab.core.voice.text
Methods in org.openhab.core.voice.text that return RuleModifier and TypeMethodDescriptionprotected RuleAbstractRuleBasedInterpreter.customCommandRule(AbstractRuleBasedInterpreter.ItemFilter itemFilter, Object cmdExpression, boolean isForced, boolean isSilent) Creates a custom rule on base of a expression.protected RuleAbstractRuleBasedInterpreter.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.Rule[]protected RuleCreates an item rule on base of an expression, where the tail of the new rule's expression will consist of an item name expression.protected RuleCreates an item rule on base of a head and a tail expression, where the middle part of the new rule's expression will consist of an item name expression.protected RuleAbstractRuleBasedInterpreter.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 RuleAbstractRuleBasedInterpreter.restrictedItemRule(Set<Item> allowedItems, Object headExpression, @Nullable Object tailExpression) Creates an item rule on base of a head and a tail expression, where the middle part of the new rule's expression will consist of an item name expression.protected RuleAbstractRuleBasedInterpreter.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.Methods in org.openhab.core.voice.text that return types with arguments of type RuleModifier and TypeMethodDescriptionAbstractRuleBasedInterpreter.parseItemCustomRules(Locale locale, Item item, String ruleText, Metadata metadata) Parses a rule as text into aRuleinstance.Methods in org.openhab.core.voice.text with parameters of type Rule