Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.drools.definition.rule
Interface Rule

All Superinterfaces:
  KnowledgeDefinition

    public interface Rule

extends KnowledgeDefinition

Public Rule interface for runtime rule inspection.

Method Summary
`String` | `getMetaAttribute(String key)` Deprecated.
`Map<String,Object>` | `getMetaAttributes()` Deprecated.
`Map<String,Object>` | `getMetaData()` Returns an immutable Map 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.
`Collection<String>` | `listMetaAttributes()` Deprecated.

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 of all meta data attributes associated with this rule object.

  Returns:
    an immutable Map of meta data attributes.

### listMetaAttributes

    @Deprecated
    Collection<String> listMetaAttributes()

  Deprecated.

  This method is deprecated. Please use `getMetaAttributes()` instead.

  Returns:
    a collection with all the meta attribute keys associated with this Rule.

### getMetaAttributes

    @Deprecated
    Map<String,Object> getMetaAttributes()

  Deprecated.

  Returns an immutable Map of all meta attributes associated with this rule object.

  Returns:
    an immutable Map of meta attributes.

### getMetaAttribute

    @Deprecated
    String getMetaAttribute(String key)

  Deprecated.

  Returns the value of the meta attribute identified by the "key"

  Parameters:
    `key` - the meta attribute key
  Returns:
    the meta attribute value or null if there is no value for that key.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.