org.pietschy.command

Interface ConditionEvaluator

Known Implementing Classes:
DefaultConditionEvaluator

public interface ConditionEvaluator

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

Method Summary

boolean
evaluate(String expression)
Evaluates the specified condition.

Method Details

evaluate

public boolean evaluate(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.