com.ibm.rules.engine.ruledef.runtime

Interface RuleAction

  • All Superinterfaces:
    java.io.Serializable


    public interface RuleAction
    extends java.io.Serializable
    RuleAction defines an action component in a Rule. Each Rule can contain at least one body, and each rule body is named and indexed. A RuleAction instance represents this rule body.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      int getIndex()
      Returns the unique index for this action.
      java.lang.String getName()
      Returns the name of this action.
      Rule getRule()
      Returns the Rule instance that contains this action.
    • Method Detail

      • getRule

        Rule getRule()
        Returns the Rule instance that contains this action.
        Returns:
        The Rule instance containing this action.
      • getName

        java.lang.String getName()
        Returns the name of this action.
        Returns:
        The name of this action.
      • getIndex

        int getIndex()
        Returns the unique index for this action. Use the index as a unique key for each action in a ruleset.
        Returns:
        The action index.

© Copyright IBM Corp. 1987, 2017