| |
|
| java.lang.Object org.drools.jsr94.rules.admin.RuleExecutionSetRepository
RuleExecutionSetRepository | final public class RuleExecutionSetRepository implements Serializable(Code) | | Stores the registered RuleExecutionSet objects.
author: thomas diesler |
Method Summary | |
public List | getRegistrations() Retrieves a List of the URIs that currently have
RuleExecutionSet s associated with them. | public RuleExecutionSet | getRuleExecutionSet(String bindUri) Get the RuleExecutionSet bound to this URI, or return
null .
Parameters: bindUri - the URI associated with the wantedRuleExecutionSet . | public void | registerRuleExecutionSet(String bindUri, RuleExecutionSet ruleSet) Register a RuleExecutionSet under the given URI.
Parameters: bindUri - the URI to associate with the RuleExecutionSet . Parameters: ruleSet - the RuleExecutionSet to associate with the URI throws: RuleExecutionSetRegisterException - if an error occurred that prevented registration (i.e. | public void | unregisterRuleExecutionSet(String bindUri) Unregister a RuleExecutionSet from the given URI. |
RuleExecutionSetRepository | public RuleExecutionSetRepository()(Code) | | Private constructor; use getInstance instead.
|
getRegistrations | public List getRegistrations()(Code) | | Retrieves a List of the URIs that currently have
RuleExecutionSet s associated with them.
An empty list is returned is there are no associations.
a List of the URIs that currently haveRuleExecutionSet s associated with them. |
getRuleExecutionSet | public RuleExecutionSet getRuleExecutionSet(String bindUri)(Code) | | Get the RuleExecutionSet bound to this URI, or return
null .
Parameters: bindUri - the URI associated with the wantedRuleExecutionSet . the RuleExecutionSet bound to the given URI. |
registerRuleExecutionSet | public void registerRuleExecutionSet(String bindUri, RuleExecutionSet ruleSet) throws RuleExecutionSetRegisterException(Code) | | Register a RuleExecutionSet under the given URI.
Parameters: bindUri - the URI to associate with the RuleExecutionSet . Parameters: ruleSet - the RuleExecutionSet to associate with the URI throws: RuleExecutionSetRegisterException - if an error occurred that prevented registration (i.e. ifbindUri or ruleSet are null ) |
unregisterRuleExecutionSet | public void unregisterRuleExecutionSet(String bindUri)(Code) | | Unregister a RuleExecutionSet from the given URI.
Parameters: bindUri - the URI to disassociate with the RuleExecutionSet . |
|
|
|