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

public Rule getRule()
Retrieve the Rule that was activated.

Returns:
The rule.

getTuple

public Tuple getTuple()
Retrieve the Tuple that was activated.

Returns:
The tuple.

getActivationNumber

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

Returns:
The tuple.