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 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.Rule[]
protected Rule
Creates 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 Rule
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 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
(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 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.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 aRule
instance.Methods in org.openhab.core.voice.text with parameters of type Rule