O'Reilly logo

Jess in Action: Rule-Based Systems in Java by Ernest Friedman-Hill

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix B. Abridged Java API for Jess

The Jess library contains about 75 public classes. Many of them are used only rarely by Jess programmers. Even among the most-used classes, plenty of methods are used very infrequently. This appendix lists only the most important methods of the most important classes—a 20,000-foot view that should be a big help to anyone just getting started with the Jess library.

B.1. jess.Context

This class represents the execution context of a function. If you write your own Jess functions in Java, you get a Context object as an argument to the call method. The Context gives you access to the Rete object the function is executing in, as well as the values of relevant variables.

public Rete getEngine()

Returns the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required