org.sonatype.gshell.parser.impl.eval
Class JexlEvaluator
java.lang.Object
org.sonatype.gshell.parser.impl.eval.JexlEvaluator
- All Implemented Interfaces:
- Evaluator
public class JexlEvaluator
- extends Object
- implements Evaluator
Uses Commons Jexl to evaluate expressions.
- Since:
- 2.0
- Author:
- Jason Dillon
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JexlEvaluator
public JexlEvaluator()
eval
public Object eval(String expression)
throws Exception
- Specified by:
eval in interface Evaluator
- Throws:
Exception
Copyright © 2008-2011 Sonatype. All Rights Reserved.