public class RLLocalRuleExecutionSetProvider
extends java.lang.Object
implements javax.rules.admin.LocalRuleExecutionSetProvider, java.io.Serializable
| Constructor and Description |
|---|
RLLocalRuleExecutionSetProvider() |
| Modifier and Type | Method and Description |
|---|---|
javax.rules.admin.RuleExecutionSet |
createRuleExecutionSet(java.io.InputStream is,
java.util.Map properties)
Create a RuleExecutionSet implementation from the specified input stream.
|
javax.rules.admin.RuleExecutionSet |
createRuleExecutionSet(java.lang.Object ast,
java.util.Map properties)
Create a RuleExecutionSet implementation from an abstract syntax tree.
|
javax.rules.admin.RuleExecutionSet |
createRuleExecutionSet(java.io.Reader reader,
java.util.Map properties)
Create a RuleExecutionSet implementation from the specified Reader.
|
javax.rules.admin.RuleExecutionSet |
createRuleExecutionSet(java.lang.String name,
java.lang.String description,
RuleSource[] sources,
java.lang.String[] rulesetStack,
java.util.Map properties)
Create a RuleExecutionSet implementation from the specified parameters.
|
public javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.io.InputStream is,
java.util.Map properties)
throws javax.rules.admin.RuleExecutionSetCreateException,
java.io.IOException
createRuleExecutionSet in interface javax.rules.admin.LocalRuleExecutionSetProvideris - the InputStreamproperties - optional properties.java.io.IOException - on an input stream I/O error.javax.rules.admin.RuleExecutionSetCreateException - if an error is encountered
creating the RuleExecutionSet.public javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.lang.Object ast,
java.util.Map properties)
throws javax.rules.admin.RuleExecutionSetCreateException
createRuleExecutionSet in interface javax.rules.admin.LocalRuleExecutionSetProviderast - the abstract syntax treeproperties - optional properties.javax.rules.admin.RuleExecutionSetCreateException - always.public javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.io.Reader reader,
java.util.Map properties)
throws javax.rules.admin.RuleExecutionSetCreateException,
java.io.IOException
createRuleExecutionSet in interface javax.rules.admin.LocalRuleExecutionSetProviderreader - the Readerproperties - optional properties.java.io.IOException - on an I/O error reading the document.javax.rules.admin.RuleExecutionSetCreateException - if an error is encountered
creating the RuleExecutionSet.public javax.rules.admin.RuleExecutionSet createRuleExecutionSet(java.lang.String name,
java.lang.String description,
RuleSource[] sources,
java.lang.String[] rulesetStack,
java.util.Map properties)
throws javax.rules.admin.RuleExecutionSetCreateException
name - the name of the RuleExecutionSet.description - a description of the RuleExecutionSet.sources - an array of RuleSource instances that describe where
the rules for this RuleExecutionSet can be accessed.rulesetStack - an array of ruleset names which represent the
desired content of the rulesetStack prior to
executing the rules.properties - optional properties.javax.rules.admin.RuleExecutionSetCreateException - if an error is encountered
creating the RuleExecutionSet.