org.apache.geronimo.system.configuration.condition
Interface ConditionParser

All Known Implementing Classes:
JexlConditionParser, OgnlConditionParser

public interface ConditionParser

Provides a simple facility to evaluate condition expressions.


Method Summary
 boolean evaluate(String expression)
          Evaluate a condition expression.
 

Method Detail

evaluate

boolean evaluate(String expression)
                 throws ConditionParserException
Evaluate a condition expression.

Parameters:
expression - The condition expression to evaluate; must not be null
Returns:
True if the condition is satisfied
Throws:
ConditionParserException - Failed to evaluate condition expression


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.