jess
Class JessVersion

java.lang.Object
  extended by jess.JessVersion
All Implemented Interfaces:
java.io.Serializable, Userfunction

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

(C) 2013 Sandia Corporation
$Id: JessVersion.java,v 1.23 2008-11-11 15:34:06 ejfried Exp $

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT_STRING
          The copyright information for this version of Jess.
static double VERSION_NUMBER
          The version number of Jess.
static java.lang.String VERSION_STRING
          A string describing this version of Jess, of the form
 
Method Summary
 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
 

Field Detail

VERSION_STRING

public static final java.lang.String VERSION_STRING
A string describing this version of Jess, of the form

Jess Version 8.0 9/12/2013

This value is not a compile-time constant, so classes that refer to this variable will see the real value.


VERSION_NUMBER

public static final double VERSION_NUMBER
The version number of Jess. Not a compile-time constant.


COPYRIGHT_STRING

public static final java.lang.String COPYRIGHT_STRING
The copyright information for this version of Jess. Not a compile-time constant.

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
Returns:
The name of this function, as seen by the Jess language

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
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)

© 2013 Sandia Corporation