Class JavaEngine
java.lang.Object
javax.script.AbstractScriptEngine
org.apache.maven.plugins.scripting.engine.JavaEngine
- All Implemented Interfaces:
Compilable, ScriptEngine, ContextAwareEngine
The java engine implementation.
-
Field Summary
Fields inherited from class AbstractScriptEngine
contextFields inherited from interface ScriptEngine
ARGV, ENGINE, ENGINE_VERSION, FILENAME, LANGUAGE, LANGUAGE_VERSION, NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioneval(Reader reader, ScriptContext context) eval(String script, ScriptContext context) voidsetLog(org.apache.maven.plugin.logging.Log log) Methods inherited from class AbstractScriptEngine
eval, eval, eval, eval, get, getBindings, getContext, getScriptContext, put, setBindings, setContext
-
Constructor Details
-
JavaEngine
-
-
Method Details
-
setLog
public void setLog(org.apache.maven.plugin.logging.Log log) - Specified by:
setLogin interfaceContextAwareEngine
-
compile
- Specified by:
compilein interfaceCompilable- Throws:
ScriptException
-
eval
- Specified by:
evalin interfaceScriptEngine- Throws:
ScriptException
-
eval
- Specified by:
evalin interfaceScriptEngine- Throws:
ScriptException
-
compile
- Specified by:
compilein interfaceCompilable- Throws:
ScriptException
-
createBindings
- Specified by:
createBindingsin interfaceScriptEngine
-
getFactory
- Specified by:
getFactoryin interfaceScriptEngine
-