com.pmease.quickbuild.extensionpoint
Interface ScriptInterpreter


public interface ScriptInterpreter

This extension point provides expression evaluators to the system.


Method Summary
 java.lang.Object evaluate(java.lang.String expression, java.util.Map evaluationContext)
          Evaluate the expression and return the evaluation result.
 java.lang.String getPrefix()
          Get prefix of this evaluator.
 

Method Detail

getPrefix

java.lang.String getPrefix()
Get prefix of this evaluator. This evaluator will be called to do the evaluation if the expression is prefixed with this value.

Returns:
Should not be null

evaluate

java.lang.Object evaluate(java.lang.String expression,
                          java.util.Map evaluationContext)
Evaluate the expression and return the evaluation result.

Parameters:
expression - expression to evaluate. Should not be null.
evaluationContext - context of the evaluation. Should not be null.


Copyright © 2005-2010 PMEase Inc. All Rights Reserved.