| java.lang.Object org.drools.jsr94.rules.admin.RuleExecutionSetProviderImpl
RuleExecutionSetProviderImpl | public class RuleExecutionSetProviderImpl implements RuleExecutionSetProvider(Code) | | The Drools implementation of the RuleExecutionSetProvider
interface which defines RuleExecutionSet creation methods for
defining RuleExecutionSet s from potentially serializable
resources.
See Also: RuleExecutionSetProvider author: N. Alex Rupp (n_alex codehaus.org) author: thomas diesler author: michael frandsen |
Method Summary | |
public RuleExecutionSet | createRuleExecutionSet(Element ruleExecutionSetElement, Map properties) Creates a RuleExecutionSet implementation from an XML
Document and additional Drools-specific properties. | public RuleExecutionSet | createRuleExecutionSet(Serializable ruleExecutionSetAst, Map properties) Creates a 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.
Parameters: ruleExecutionSetAst - the Drools representation of arule execution set Parameters: properties - additional properties used to create theRuleExecutionSet implementation.May be null . throws: RuleExecutionSetCreateException - on rule execution set creationerror. | public RuleExecutionSet | createRuleExecutionSet(String ruleExecutionSetUri, Map properties) Creates a RuleExecutionSet implementation from a URI. |
createRuleExecutionSet | public RuleExecutionSet createRuleExecutionSet(Element ruleExecutionSetElement, Map properties) throws RuleExecutionSetCreateException(Code) | | Creates a RuleExecutionSet implementation from an XML
Document and additional Drools-specific properties. A Drools-specific
rule execution set is read from the supplied XML Document.
Parameters: ruleExecutionSetElement - the XML element that is the source of therule execution set Parameters: properties - additional properties used to create theRuleExecutionSet implementation.May be null . throws: RuleExecutionSetCreateException - on rule execution set creationerror. The created RuleExecutionSet . |
createRuleExecutionSet | public RuleExecutionSet createRuleExecutionSet(Serializable ruleExecutionSetAst, Map properties) throws RuleExecutionSetCreateException(Code) | | Creates a 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.
Parameters: ruleExecutionSetAst - the Drools representation of arule execution set Parameters: properties - additional properties used to create theRuleExecutionSet implementation.May be null . throws: RuleExecutionSetCreateException - on rule execution set creationerror. The created RuleExecutionSet . |
createRuleExecutionSet | public RuleExecutionSet createRuleExecutionSet(String ruleExecutionSetUri, Map properties) throws RuleExecutionSetCreateException, IOException(Code) | | Creates a 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.
Parameters: ruleExecutionSetUri - the URI to load the rule execution set from Parameters: properties - additional properties used to create theRuleExecutionSet implementation.May be null . throws: RuleExecutionSetCreateException - on rule execution set creationerror. throws: IOException - if an I/O error occurs while accessing the URI The created RuleExecutionSet . |
|
|