|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jess.Activation
A list of facts that satisfy a rule. An activation contains
enough info to bind a rule's variables. You might use this class
if you're writing your own Strategy
implementation, or in
a JessListener
implementation.
(C) 2005 Sandia National Laboratories
Strategy
,
JessListener
,
Serialized FormMethod Summary | |
boolean |
equals(java.lang.Object o)
Compare this object to another Activation. |
Defrule |
getRule()
Return the activated rule. |
int |
getSalience()
Evaluate and return the current salience for the rule referenced in this activation. |
Token |
getToken()
Get the Rete network Token that caused this Activation. |
boolean |
isInactive()
Query if this activation has been cancelled, or false if it is valid. |
java.lang.String |
toString()
Produce a string representation of this Activation for use in debugging. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public final Token getToken()
public final Defrule getRule()
public boolean isInactive()
public int getSalience()
public boolean equals(java.lang.Object o)
o
- The Activation to compare to.public java.lang.String toString()
|
© 2006 Sandia Corporation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |