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.5 2004/09/17 00:14:12 mproctor 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

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.


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