| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjess.Main
An interactive interface for Jess. The main() method uses this class to implement a command-line interface. The Main class is also displayed graphically by the jess.ConsolePanel.
(C) 2006 Sandia National Laboratories
| Constructor Summary | |
| Main() | |
| Method Summary | |
|  void | execute(boolean doPrompt)Repeatedly parse and excute commands, from location determined during initialize(). | 
|  Main | initialize(java.lang.String[] argv,
           Rete r)Set a Main object up for later execution. | 
|  boolean | isRunning()Returns true until the debugger is commanded to exit. | 
| static void | main(java.lang.String[] argv)Starts Jess as a command-line application. | 
|  void | setDebugMode(int debugPort,
             int eventPort)Starts a debug server on the given ports. | 
|  void | showLogo()Display the Jess startup banner on the Rete object's standard output. | 
|  void | update(java.util.Observable o,
       java.lang.Object arg) | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public Main()
| Method Detail | 
public static void main(java.lang.String[] argv)
argv - command-line argumentsinitialize(String[], Rete), 
execute(boolean)public void showLogo()
Jess, the Rule Engine for the Java Platform Copyright (C) 2006 Sandia Corporation Jess Version 7.0 9/5/06
public Main initialize(java.lang.String[] argv,
                       Rete r)
argv - Command-line argumentsr - an initialized Rete object, with routers set up
public void setDebugMode(int debugPort,
                         int eventPort)
debugPort - the source for debug commandseventPort - the sink for debugger eventspublic void execute(boolean doPrompt)
doPrompt - True if a prompt should be printed, false otherwise.
                 Prompts will never be printed during a (batch) command.public boolean isRunning()
public void update(java.util.Observable o,
                   java.lang.Object arg)
update in interface java.util.Observer| 
 | © 2007 Sandia Corporation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||