Package com.googlecode.aviator
Interface EnvProcessor
public interface EnvProcessor
Processing env before or after executing expression.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterExecute
(Map<String, Object> env, Expression script) This method will be called after executing the expression.void
beforeExecute
(Map<String, Object> env, Expression script) This method will be called before executing the expression.
-
Method Details
-
beforeExecute
This method will be called before executing the expression.- Parameters:
env
- the env objectscript
- the script object
-
afterExecute
This method will be called after executing the expression.- Parameters:
env
- the env objectscript
- the script object
-