public interface RuleEngineDefinition extends EngineDefinition
RuleEngineDefinition to create RuleEngine instances and
access Rule definitions.| Modifier and Type | Method and Description |
|---|---|
RuleEngine |
createEngine()
Creates a new
RuleEngine instance. |
RuleEngine |
createEngine(EngineService... services)
Creates a new
RuleEngine instance. |
Rule |
getRule(java.lang.String ruleName)
Returns a specific rule.
|
java.util.List<Rule> |
getRules()
Returns the rules attached to the
RuleEngine. |
getSignaturegetNumberOfServices, getService, getServiceByName, getServiceClassesRuleEngine createEngine()
RuleEngine instance.createEngine in interface EngineDefinitionRuleEngine instance.RuleEngine createEngine(EngineService... services)
RuleEngine instance.createEngine in interface EngineDefinitionservices - EngineServices to be used by the new Engine.
This overrides the default EngineServices in the Engine
definition.RuleEngine instance.java.util.List<Rule> getRules()
RuleEngine.RuleEngine. If no rules are attached,
an empty collection is returned.Rule getRule(java.lang.String ruleName)
ruleName - The fully qualified name of the rule to be returned.ruleName.
If there is no rule matching ruleName, null is returned.Rule.getName()© Copyright IBM Corp. 1987, 2017