Command-line global variables

Rule Designer provides a number of command-line tool global variables.

Table 1. Command-line tool global variables
Global Variable Name Java™ Type Description
workspace org.eclipse.core.resources.IWorkspace Provides access to the projects.
ruleModel IlrRuleModel Provides access to the Rule Designer rule model.
modelHelper IlrModelHelper Modifies the Rule Designer rule model.
importHelper IlrImportHelper Import projects into the workspace.
buildHelper IlrBuildHelper Builds the projects of the workspace.
extractorHelper IlrExtractorHelper Extracts the ruleset archives from the rule projects.

Rule Designer also provides an extension point named ilog.rules.studio.eclipsemonkey.dom, to help you add other global variables. The more global variables you have, the fewer fully qualified classes you need to call in your script.