Rule Execution Server API

ilog.rules.tools
Class IlrMain

java.lang.Object
  extended by ilog.rules.tools.IlrBaseTool
      extended by ilog.rules.tools.IlrMain

Deprecated. As of JRules 7.5, this class is deprecated with no replacement

public class IlrMain
extends ilog.rules.tools.IlrBaseTool

This class invokes the ilrmain function of the ILOG Rule Language (IRL). It is provided as a convenient tool for testing a ruleset archive.

To use this class, the CLASSPATH variable must contain the jrules-engine.jar file as well as any of your application classes that are referred to in the rules.

The syntax of the command is as follows:

         java ilog.rules.tools.IlrMain [-context contextClass] -jar rulesetarchivefile arg1 ... argN
 

The options are:

The ilrmain function must have the following signature:

         XXX ilrmain(java.lang.Object arg) { ... }
 

The function may have a void or other return type. If no arguments are provided through this class, arg is null. Otherwise, the value of arg is the concatenated string.

See Also:
IlrContext.executeMain(Object)

Field Summary
 
Fields inherited from class ilog.rules.tools.IlrBaseTool
arguments, contextClass, items, reflect, ruleset, writer
 
Method Summary
protected  IlrContext createJarContext(String filename)
          Deprecated.  
 
Methods inherited from class ilog.rules.tools.IlrBaseTool
createFile, createRuleset, decodeArguments, decodeLastArguments, displayUsage, init, initContextClass, invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createJarContext

protected IlrContext createJarContext(String filename)
Deprecated. 

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013