jess
Class Batch

java.lang.Object
  |
  +--jess.Batch
All Implemented Interfaces:
java.io.Serializable, Userfunction

public class Batch
extends java.lang.Object
implements Userfunction, java.io.Serializable

The "batch" command.

(C) 1998 E.J. Friedman-Hill and the Sandia Corporation

Author:
Ernest J. Friedman-Hill
See Also:
Serialized Form

Constructor Summary
Batch()
           
 
Method Summary
 Value batch(java.lang.String filename, Rete engine)
           
 Value call(ValueVector vv, Context context)
          Call this function with the given argument list.
 java.lang.String getName()
          Return the name of this function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Batch

public Batch()
Method Detail

getName

public java.lang.String getName()
Description copied from interface: Userfunction
Return the name of this function. Called once when the function is installed into a Rete engine.
Specified by:
getName in interface Userfunction
Following copied from interface: jess.Userfunction
Returns:
The name of this function, as seen by the Jess language

batch

public Value batch(java.lang.String filename,
                   Rete engine)
            throws JessException

call

public Value call(ValueVector vv,
                  Context context)
           throws JessException
Description copied from interface: Userfunction
Call this function with the given argument list. The arguments will be unresolved - do not pass them to other functions or return them as a result without calling resolveValue() on them!
Specified by:
call in interface Userfunction
Following copied from interface: jess.Userfunction
Parameters:
vv - The argument list. The function name will be the 0th element.
context - The execution context for resolving arguments.
Returns:
The result of executing this function.
Throws:
JessException - If anything goes wrong.
See Also:
Value.resolveValue(jess.Context)

© 1997 E.J. Friedman-Hill and Sandia Corporation