Method Summary |
|
public RuleSet | createRuleSet(String name, ClassLoader classLoader) |
public RuleSet | createRuleSet(InputStream inputStream) Create a RuleSet from an InputStream.
The ClassLoader of the RuleSetFactory class is used.
Parameters: inputStream - InputStream containing the RuleSet XML configuration. |
public RuleSet | createRuleSet(InputStream inputStream, ClassLoader classLoader) Create a RuleSet from an InputStream with a specified ClassLoader.
Parameters: inputStream - InputStream containing the RuleSet XML configuration. Parameters: classLoader - The ClassLoader to load Classes and resources. |
public RuleSets | createRuleSets(String ruleSetFileNames) Create a RuleSets from a list of names.
The ClassLoader of the RuleSetFactory class is used.
Parameters: ruleSetFileNames - A comma-separated list of rule set files. |
public RuleSets | createRuleSets(String ruleSetFileNames, ClassLoader classLoader) Create a RuleSets from a list of names with a specified ClassLoader.
Parameters: ruleSetFileNames - A comma-separated list of rule set files. Parameters: classLoader - The ClassLoader to load Classes and resources. |
public RuleSet | createSingleRuleSet(String ruleSetFileName) Create a RuleSet from a file name resource.
The ClassLoader of the RuleSetFactory class is used.
Parameters: ruleSetFileName - The name of rule set file loaded as a resource. |
public Iterator<RuleSet> | getRegisteredRuleSets() Returns an Iterator of RuleSet objects loaded from descriptions from the
"rulesets.properties" resource. |
public void | setMinimumPriority(int minPriority) Set the minimum rule priority threshold for all Rules which are loaded
from RuleSets via reference. |