bsh.commands
Class modifyObject

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

public class modifyObject
extends java.lang.Object

Modify an object in the working memory.

Author:
bob mcwhirter
See Also:
WorkingMemory

Constructor Summary
modifyObject()
           
 
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

modifyObject

public modifyObject()
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 modify.
Throws:
bsh.EvalError - If a bsh evaluation error occurs.
FactException - If there is a RETE fact modification exception.