jeops.engine
Class RuleAction

java.lang.Object
  |
  +--jeops.engine.RuleAction

public class RuleAction
extends java.lang.Object

This class models an action of a rule to be executed if the rule's preconditions evaluate to true.

Version:
0.02 28 Jun 1999 First version with comments in English,
Author:
Carlos Figueira Filho (csff@di.ufpe.br)

Constructor Summary
RuleAction(ActionJavaExpr expression)
          Class constructor.
 
Method Summary
 void dump(int espacos)
          Prints this expression's tree with the specified identation.
 ActionJavaExpr getExpression()
          Returns the execution expression for this action.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleAction

public RuleAction(ActionJavaExpr expression)
Class constructor.
Parameters:
expression - the expression that represents this action.
Method Detail

dump

public void dump(int espacos)
Prints this expression's tree with the specified identation. Useful for debugging.

getExpression

public ActionJavaExpr getExpression()
Returns the execution expression for this action.
Returns:
the execution expression for this action.