Package org.projog.core.event
Class SpyPoints.SpyPoint
- java.lang.Object
-
- org.projog.core.event.SpyPoints.SpyPoint
-
- Enclosing class:
- SpyPoints
public class SpyPoints.SpyPoint extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private PredicateKeykeyprivate booleanset
-
Constructor Summary
Constructors Modifier Constructor Description privateSpyPoint(PredicateKey key)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PredicateKeygetPredicateKey()booleanisEnabled()booleanisSet()voidlogCall(java.lang.Object source, Term[] args)Notifies listeners of a first attempt to evaluate a goal.voidlogExit(java.lang.Object source, Term[] args, int clauseNumber)Deprecated.voidlogExit(java.lang.Object source, Term[] args, ClauseModel clause)Notifies listeners of that an attempt to evaluate a goal has succeeded.voidlogFail(java.lang.Object source, Term[] args)Notifies listeners of that an attempt to evaluate a goal has failed.voidlogRedo(java.lang.Object source, Term[] args)Notifies listeners of an attempt to re-evaluate a goal.
-
-
-
Field Detail
-
key
private final PredicateKey key
-
set
private boolean set
-
-
Constructor Detail
-
SpyPoint
private SpyPoint(PredicateKey key)
-
-
Method Detail
-
getPredicateKey
public PredicateKey getPredicateKey()
-
isSet
public boolean isSet()
-
isEnabled
public boolean isEnabled()
-
logCall
public void logCall(java.lang.Object source, Term[] args)Notifies listeners of a first attempt to evaluate a goal.
-
logRedo
public void logRedo(java.lang.Object source, Term[] args)Notifies listeners of an attempt to re-evaluate a goal.
-
logExit
@Deprecated public void logExit(java.lang.Object source, Term[] args, int clauseNumber)Deprecated.Notifies listeners of that an attempt to evaluate a goal has succeeded.
-
logExit
public void logExit(java.lang.Object source, Term[] args, ClauseModel clause)Notifies listeners of that an attempt to evaluate a goal has succeeded.
-
logFail
public void logFail(java.lang.Object source, Term[] args)Notifies listeners of that an attempt to evaluate a goal has failed.
-
-