jess
Interface TestBase

All Known Implementing Classes:
Test1

public interface TestBase

A generic Rete network test. Different implementations of this represent pattern-network tests, join-network tests, etc.

(C) 2013 Sandia Corporation


Field Summary
static int EQ
          Used by TestBase constructors to indicate this test is for equality
static int NEQ
          Used by TestBase constructors to indicate this test is for inequality
 
Method Summary
 boolean doTest(Context context)
          Perform the actual test.
 

Field Detail

EQ

static final int EQ
Used by TestBase constructors to indicate this test is for equality

See Also:
Constant Field Values

NEQ

static final int NEQ
Used by TestBase constructors to indicate this test is for inequality

See Also:
Constant Field Values
Method Detail

doTest

boolean doTest(Context context)
               throws JessException
Perform the actual test. The context argument contains all relevant information needed to resolve variables, etc.

Parameters:
context - The execution context in which to evaluate the test
Returns:
The result of the test
Throws:
JessException - If anything goes wrong

2013 Sandia Corporation