bsh.commands
Class retractObject

java.lang.Object
  |
  +--bsh.commands.retractObject

public class retractObject
extends java.lang.Object

Retract an object from the working memory.

Author:
bob mcwhirter
See Also:
WorkingMemory

Constructor Summary
retractObject()
           
 
Method Summary
static void invoke(bsh.Interpreter interp, bsh.NameSpace namespace, java.lang.Object object)
          Invoke the command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

retractObject

public retractObject()
Method Detail

invoke

public static void invoke(bsh.Interpreter interp,
                          bsh.NameSpace namespace,
                          java.lang.Object object)
                   throws bsh.EvalError,
                          FactException
Invoke the command.

Parameters:
interp - The bsh interpreter.
namespace - The bsh namespace.
object - The object to retract.
Throws:
bsh.EvalError - If a bsh evaluation error occurs.
RetractionException - If there is a RETE fact retraction exception.
FactException