Uses of Interface
org.openhab.core.automation.Rule
Packages that use Rule
Package
Description
-
Uses of Rule in org.openhab.core.automation
Methods in org.openhab.core.automation that return RuleModifier and TypeMethodDescriptionThis method is used to register aRuleinto theRuleRegistry.RuleExecution.getRule()Returns the rule that will be executed.protected @Nullable RuleMethods in org.openhab.core.automation that return types with arguments of type RuleModifier and TypeMethodDescriptionGets a collection ofRules which shares same tag.Gets a collection ofRules which has specified tags.RulePredicates.hasAllTags(String @Nullable ... tags) RulePredicates.hasAllTags(@Nullable Collection<String> tags) RulePredicates.hasAnyOfPrefixes(String... prefixes) RulePredicates.hasAnyOfTags(String @Nullable ... tags) RulePredicates.hasAnyOfTags(@Nullable Collection<String> tags) RulePredicates.hasNoTags()RulePredicates.hasTags()Methods in org.openhab.core.automation with parameters of type RuleModifier and TypeMethodDescriptionThis method is used to register aRuleinto theRuleRegistry.static @Nullable StringGets the prefix of theRule's UID, if any exist.protected RuleDTOManagedRuleProvider.toPersistableElement(Rule element) Constructors in org.openhab.core.automation with parameters of type Rule -
Uses of Rule in org.openhab.core.automation.converter
Methods in org.openhab.core.automation.converter that return types with arguments of type RuleModifier and TypeMethodDescriptionRuleParser.getParsedObjects(String modelName) Get theRuleobjects found when parsing the format.Method parameters in org.openhab.core.automation.converter with type arguments of type RuleModifier and TypeMethodDescriptionRuleSerializer.checkSerializability(Collection<Rule> rules) Checks if the specified rules are serializable with thisRuleSerializer.voidRuleSerializer.setRulesToBeSerialized(String id, List<Rule> rules, RuleSerializer.RuleSerializationOption option) -
Uses of Rule in org.openhab.core.automation.dto
Methods in org.openhab.core.automation.dto that return RuleMethods in org.openhab.core.automation.dto with parameters of type Rule -
Uses of Rule in org.openhab.core.automation.util
Methods in org.openhab.core.automation.util that return RuleMethods in org.openhab.core.automation.util with parameters of type RuleModifier and TypeMethodDescriptionstatic RuleBuilderBuild a newRulewith a new UID, based on an existing rule.static RuleBuilderBuild a newRulebased on an existing rule.Constructors in org.openhab.core.automation.util with parameters of type Rule -
Uses of Rule in org.openhab.core.model.script.lib
Methods in org.openhab.core.model.script.lib that return RuleMethods in org.openhab.core.model.script.lib with parameters of type RuleModifier and TypeMethodDescriptionstatic booleanCheck whether the specified rule is enabled.Run the specified rule.Run the specified rule while optionally taking conditions into account.Run the specified rule with the specified context, while optionally taking conditions into account.RuleExtensions.run(Rule rule, boolean considerConditions, @Nullable Map<String, @Nullable Object> context) Run the specified rule with the specified context, while optionally taking conditions into account.Run the specified rule with the specified context.static voidRuleExtensions.setEnabled(Rule rule, boolean enabled) Set whether the specified rule is enabled.