Rule Execution Server API

com.ibm.rules.engine.ruledef.runtime
Interface RuleAction

All Superinterfaces:
Serializable

public interface RuleAction
extends 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
 int getIndex()
          Returns the unique index for this action.
 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

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.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013