## Uses of Interface
org.kie.api.definition.rule.Rule

- Packages that use Rule
  Package | Description
  --- | ---
  org.kie.api | The KnowledgeBase and its factory.
  org.kie.api.definition | All classes to create definitions, as built by the KnowledgeBuilder from artifact resources, can be found here.
  org.kie.api.event.kiebase | Events emitted while updating the definitions in the KnowledgeBase.
  org.kie.api.event.rule | Events emitted while Rules are executing.
  org.kie.api.runtime.conf |
  org.kie.api.runtime.rule | The rule runtime classes.

- - ### Uses of Rule in org.kie.api

    Methods in org.kie.api that return Rule
    Modifier and Type | Method and Description
    --- | ---
    `Rule` | KieBase.`getRule(String packageName, String ruleName)` Returns a reference to the `Rule` identified by the given package and rule names.

  - ### Uses of Rule in org.kie.api.definition

    Methods in org.kie.api.definition that return types with arguments of type Rule
    Modifier and Type | Method and Description
    --- | ---
    `Collection<Rule>` | KiePackage.`getRules()` Return the rule definitions for this package.

  - ### Uses of Rule in org.kie.api.event.kiebase

    Methods in org.kie.api.event.kiebase that return Rule
    Modifier and Type | Method and Description
    --- | ---
    `Rule` | BeforeRuleRemovedEvent.`getRule()`
    `Rule` | BeforeRuleAddedEvent.`getRule()`
    `Rule` | AfterRuleRemovedEvent.`getRule()`
    `Rule` | AfterRuleAddedEvent.`getRule()`
    `Rule` | AfterKieBaseLockedEvent.`getRule()`

  - ### Uses of Rule in org.kie.api.event.rule

    Methods in org.kie.api.event.rule that return Rule
    Modifier and Type | Method and Description
    --- | ---
    `Rule` | ObjectDeletedEvent.`getRule()`
    `Rule` | ObjectUpdatedEvent.`getRule()`
    `Rule` | ObjectInsertedEvent.`getRule()`

  - ### Uses of Rule in org.kie.api.runtime.conf

    Methods in org.kie.api.runtime.conf with parameters of type Rule
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | TimedRuleExecutionFilter.`accept(Rule[] rules)`

  - ### Uses of Rule in org.kie.api.runtime.rule

    Methods in org.kie.api.runtime.rule that return Rule
    Modifier and Type | Method and Description
    --- | ---
    `Rule` | PropagationContext.`getRule()` The rule that caused the working memory action that created this PropagationContext.
    `Rule` | ConsequenceException.`getRule()`
    `Rule` | RuleContext.`getRule()` Returns the active Rule for the current context
    `Rule` | Match.`getRule()`

Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.