public class LocalRuleExecutionSetProviderImpl extends Object implements javax.rules.admin.LocalRuleExecutionSetProvider
LocalRuleExecutionSetProvider
interface which defines RuleExecutionSet creation methods for
defining RuleExecutionSets from local (non-serializable)
resources.LocalRuleExecutionSetProvider| Constructor and Description |
|---|
LocalRuleExecutionSetProviderImpl()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
javax.rules.admin.RuleExecutionSet |
createRuleExecutionSet(InputStream ruleExecutionSetStream,
Map properties)
Creates a
RuleExecutionSet implementation using a supplied
input stream and additional Drools-specific properties. |
javax.rules.admin.RuleExecutionSet |
createRuleExecutionSet(Object ruleExecutionSetAst,
Map properties)
Creates a
RuleExecutionSet implementation from a
Drools-specific AST representation and Drools-specific properties. |
javax.rules.admin.RuleExecutionSet |
createRuleExecutionSet(Reader ruleExecutionSetReader,
Map properties)
Creates a
RuleExecutionSet implementation using a supplied
character stream Reader and additional Drools-specific properties. |
public LocalRuleExecutionSetProviderImpl()
public javax.rules.admin.RuleExecutionSet createRuleExecutionSet(InputStream ruleExecutionSetStream, Map properties) throws javax.rules.admin.RuleExecutionSetCreateException
RuleExecutionSet implementation using a supplied
input stream and additional Drools-specific properties. A Drools-specific
rule execution set is read from the supplied InputStream. The method
createRuleExecutionSet taking a Reader instance should be
used if the source is a character stream and encoding conversion should
be performed.createRuleExecutionSet in interface javax.rules.admin.LocalRuleExecutionSetProviderruleExecutionSetStream - an input stream used to read the rule execution set.properties - additional properties used to create the
RuleExecutionSet implementation. May be
null.RuleExecutionSet.javax.rules.admin.RuleExecutionSetCreateException - on rule execution set creation error.public javax.rules.admin.RuleExecutionSet createRuleExecutionSet(Reader ruleExecutionSetReader, Map properties) throws javax.rules.admin.RuleExecutionSetCreateException
RuleExecutionSet implementation using a supplied
character stream Reader and additional Drools-specific properties. A
Drools-specific rule execution set is read from the supplied Reader.createRuleExecutionSet in interface javax.rules.admin.LocalRuleExecutionSetProviderruleExecutionSetReader - a Reader used to read the rule execution set.properties - additional properties used to create the
RuleExecutionSet implementation. May be
null.RuleExecutionSet.javax.rules.admin.RuleExecutionSetCreateException - on rule execution set creation error.public javax.rules.admin.RuleExecutionSet createRuleExecutionSet(Object ruleExecutionSetAst, Map properties) throws javax.rules.admin.RuleExecutionSetCreateException
RuleExecutionSet implementation from a
Drools-specific AST representation and Drools-specific properties.createRuleExecutionSet in interface javax.rules.admin.LocalRuleExecutionSetProviderruleExecutionSetAst - the vendor representation of a rule execution setproperties - additional properties used to create the
RuleExecutionSet implementation. May be
null.RuleExecutionSet.javax.rules.admin.RuleExecutionSetCreateException - on rule execution set creation error.Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.