org.kie.api.definition.rule

## Interface Rule

- All Superinterfaces:
    KieDefinition

      public interface Rule
      extends KieDefinition

  Public Rule interface for runtime rule inspection.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.kie.api.definition.KieDefinition

      `KieDefinition.KnowledgeType`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,Object>` | `getMetaData()` Returns an immutable Map<String key, Object value> of all meta data attributes associated with this rule object.
    `String` | `getName()` Returns this rule's name.
    `String` | `getPackageName()` Returns the package name (namespace) this rule is tied to.

    - ### Methods inherited from interface org.kie.api.definition.KieDefinition

      `getId, getKnowledgeType, getNamespace`

- - ### Method Detail

    - #### getPackageName

          String getPackageName()

      Returns the package name (namespace) this rule is tied to.
      Returns:
        the package name.

    - #### getName

          String getName()

      Returns this rule's name.
      Returns:
        the rule name

    - #### getMetaData

          Map<String,Object> getMetaData()

      Returns an immutable Map<String key, Object value> of all meta data attributes associated with this rule object.
      Returns:
        an immutable Map<String key, Object value> of meta data attributes.

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