|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.drools.jsr94.rules.admin.RuleExecutionSetProviderImpl
public class RuleExecutionSetProviderImpl
The Drools implementation of the RuleExecutionSetProvider
interface which defines RuleExecutionSet creation methods for
defining RuleExecutionSets from potentially serializable
resources.
RuleExecutionSetProvider| Constructor Summary | |
|---|---|
RuleExecutionSetProviderImpl()
|
|
| Method Summary | |
|---|---|
RuleExecutionSet |
createRuleExecutionSet(org.w3c.dom.Element ruleExecutionSetElement,
java.util.Map properties)
Creates a RuleExecutionSet implementation from an XML
Document and additional Drools-specific properties. |
RuleExecutionSet |
createRuleExecutionSet(java.io.Serializable ruleExecutionSetAst,
java.util.Map properties)
Creates a RuleExecutionSet implementation from a
Drools-specific Abstract Syntax Tree (AST) representation and
Drools-specific properties. |
RuleExecutionSet |
createRuleExecutionSet(java.lang.String ruleExecutionSetUri,
java.util.Map properties)
Creates a RuleExecutionSet implementation from a URI. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RuleExecutionSetProviderImpl()
| Method Detail |
|---|
public RuleExecutionSet createRuleExecutionSet(org.w3c.dom.Element ruleExecutionSetElement,
java.util.Map properties)
throws RuleExecutionSetCreateException
RuleExecutionSet implementation from an XML
Document and additional Drools-specific properties. A Drools-specific
rule execution set is read from the supplied XML Document.
ruleExecutionSetElement - the XML element that is the source of the
rule execution setproperties - additional properties used to create the
RuleExecutionSet implementation.
May be null.
RuleExecutionSet.
RuleExecutionSetCreateException - on rule execution set creation
error.
public RuleExecutionSet createRuleExecutionSet(java.io.Serializable ruleExecutionSetAst,
java.util.Map properties)
throws RuleExecutionSetCreateException
RuleExecutionSet implementation from a
Drools-specific Abstract Syntax Tree (AST) representation and
Drools-specific properties.
This method accepts a org.drools.RuleBase object as its
vendor-specific AST representation.
ruleExecutionSetAst - the Drools representation of a
rule execution setproperties - additional properties used to create the
RuleExecutionSet implementation.
May be null.
RuleExecutionSet.
RuleExecutionSetCreateException - on rule execution set creation
error.
public RuleExecutionSet createRuleExecutionSet(java.lang.String ruleExecutionSetUri,
java.util.Map properties)
throws RuleExecutionSetCreateException,
java.io.IOException
RuleExecutionSet implementation from a URI.
The URI is opaque to the specification and may be used to refer to the
file system, a database, or Drools-specific datasource.
ruleExecutionSetUri - the URI to load the rule execution set fromproperties - additional properties used to create the
RuleExecutionSet implementation.
May be null.
RuleExecutionSet.
RuleExecutionSetCreateException - on rule execution set creation
error.
java.io.IOException - if an I/O error occurs while accessing the URI
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||