org.sonatype.gshell.parser.impl.eval
Class JexlEvaluator

java.lang.Object
  extended by 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

Constructor Summary
JexlEvaluator()
           
 
Method Summary
 Object eval(String expression)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JexlEvaluator

public JexlEvaluator()
Method Detail

eval

public Object eval(String expression)
            throws Exception
Specified by:
eval in interface Evaluator
Throws:
Exception


Copyright © 2008-2011 Sonatype. All Rights Reserved.