org.drools.spi
Interface Activation

All Known Implementing Classes:
AgendaItem

public interface Activation

A Rule activation for the purposes of conflict resolution.

Version:
$Id: Activation.java,v 1.6 2004/12/06 01:30:37 dbarnett Exp $
Author:
bob mcwhirter

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.


Copyright © 2001-2005 The Codehaus. All Rights Reserved.