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()
           
 

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:


Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.