com.ibm.rules.engine.ruledef.runtime

Interface RuleEngineDefinition

    • Method Detail

      • createEngine

        RuleEngine createEngine(EngineService... services)
        Creates a new RuleEngine instance.
        Specified by:
        createEngine in interface EngineDefinition
        Parameters:
        services - EngineServices to be used by the new Engine. This overrides the default EngineServices in the Engine definition.
        Returns:
        A new RuleEngine instance.
      • getRules

        java.util.List<Rule> getRules()
        Returns the rules attached to the RuleEngine.
        Returns:
        The rules attached to the RuleEngine. If no rules are attached, an empty collection is returned.
      • getRule

        Rule getRule(java.lang.String ruleName)
        Returns a specific rule.
        Parameters:
        ruleName - The fully qualified name of the rule to be returned.
        Returns:
        The rule matching ruleName. If there is no rule matching ruleName, null is returned.
        See Also:
        Rule.getName()

© Copyright IBM Corp. 1987, 2017