|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjess.Activation
public class 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) 2007 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. |
int |
hashCode()
|
boolean |
isInactive()
Deprecated. This method always returns "false". There's no such thing as an "inactive" activation. |
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, 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)
equals
in class java.lang.Object
o
- The Activation to compare to.public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
© 2013 Sandia Corporation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |