org.pietschy.command
Interface ConditionEvaluator

All Known Implementing Classes:
DefaultConditionEvaluator

public interface ConditionEvaluator

Version:
$Revision: 1.1 $
Author:
andrewp
See Also:
DefaultConditionEvaluator

Method Summary
 boolean evaluate(java.lang.String expression)
          Evaluates the specified condition.
 

Method Detail

evaluate

boolean evaluate(java.lang.String expression)
                 throws EvaluationException
Evaluates the specified condition. The expressoin syntax is undefined and must be defined by each individual implementation.

Parameters:
expression - the conditional expression as a string.
Returns:
true if the expression evaluates to true, false otherwise.
Throws:
EvaluationException
See Also:
DefaultConditionEvaluator