|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RuleEngineDefinition
Use RuleEngineDefinition
to create RuleEngine
instances and
access Rule
definitions.
Method Summary | |
---|---|
RuleEngine |
createEngine()
Creates a new RuleEngine instance. |
RuleEngine |
createEngine(EngineService... services)
Creates a new RuleEngine instance. |
Rule |
getRule(String ruleName)
Returns a specific rule. |
List<Rule> |
getRules()
Returns the rules attached to the RuleEngine . |
Methods inherited from interface com.ibm.rules.engine.runtime.EngineDefinition |
---|
getSignature |
Methods inherited from interface com.ibm.rules.engine.service.EngineServices |
---|
getNumberOfServices, getService, getServiceByName, getServiceClasses |
Method Detail |
---|
RuleEngine createEngine()
RuleEngine
instance.
createEngine
in interface EngineDefinition
RuleEngine
instance.RuleEngine createEngine(EngineService... services)
RuleEngine
instance.
createEngine
in interface EngineDefinition
services
- EngineServices
to be used by the new Engine
.
This overrides the default EngineServices
in the Engine
definition.
RuleEngine
instance.List<Rule> getRules()
RuleEngine
.
RuleEngine
. If no rules are attached,
an empty collection is returned.Rule getRule(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()
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |