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.runtime.rule
Interface Activation

    public interface Activation

Method Summary
`List<String>` | `getDeclarationIDs()` Returns the list of declaration identifiers that are bound to the tuple that created this activation.
`Object` | `getDeclarationValue(String declarationId)` Returns the bound declaration value for the given declaration identifier.
`List<? extends FactHandle>` | `getFactHandles()`
`List<Object>` | `getObjects()` Returns the list of objects that make the tuple that created this activation.
`PropagationContext` | `getPropagationContext()`
`Rule` | `getRule()`
`boolean` | `isActive()` An Activation is considered active if it is on the agenda and has not yet fired.

Method Detail

### getRule

    Rule getRule()

  Returns:
    The Rule that was activated.

### getPropagationContext

    PropagationContext getPropagationContext()

  Returns:
    The PropagationContext that created this Activation

### getFactHandles

    List<? extends FactHandle> getFactHandles()

  Returns:
    The matched FactHandles for this activation

### getObjects

    List<Object> getObjects()

  Returns the list of objects that make the tuple that created this activation. The objects are in the proper tuple order.

  Returns:

### getDeclarationIDs

    List<String> getDeclarationIDs()

  Returns the list of declaration identifiers that are bound to the tuple that created this activation.

  Returns:

### getDeclarationValue

    Object getDeclarationValue(String declarationId)

  Returns the bound declaration value for the given declaration identifier.

  Parameters:
    `declarationId` -
  Returns:

### isActive

    boolean isActive()

  An Activation is considered active if it is on the agenda and has not yet fired. Once an Activation has fired it is remove from the Agenda an considered dormant. However remember that the Activation may still be considered "true", i.e. a full match.

  Returns:

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.