org.drools.spi
Interface Activation


public interface Activation

A Rule activation for the purposes of conflict resolution.


Method Summary
 long getActivationNumber()
          Retrieve the activation number that was assigned by the counter to his activation at creation time.
 Rule getRule()
          Retrieve the Rule that was activated.
 Tuple getTuple()
          Retrieve the Tuple that was activated.
 

Method Detail

getRule

Rule getRule()
Retrieve the Rule that was activated.

Returns:
The rule.

getTuple

Tuple getTuple()
Retrieve the Tuple that was activated.

Returns:
The tuple.

getActivationNumber

long getActivationNumber()
Retrieve the activation number that was assigned by the counter to his activation at creation time.

Returns:
The tuple.