Package org.junit.jupiter.engine.script
Class ScriptExecutionManager
- java.lang.Object
-
- org.junit.jupiter.engine.script.ScriptExecutionManager
-
@API(status=INTERNAL, since="5.1") @Deprecated public class ScriptExecutionManager extends java.lang.Object
Deprecated.Entry point for script execution support.- Since:
- 5.1
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.concurrent.ConcurrentMap<Script,javax.script.CompiledScript>
compiledScripts
Deprecated.private ScriptAccessor
environmentVariableAccessor
Deprecated.(package private) boolean
forceScriptEvaluation
Deprecated.private javax.script.ScriptEngineManager
scriptEngineManager
Deprecated.private java.util.concurrent.ConcurrentMap<java.lang.String,javax.script.ScriptEngine>
scriptEngines
Deprecated.private ScriptAccessor
systemPropertyAccessor
Deprecated.
-
Constructor Summary
Constructors Constructor Description ScriptExecutionManager()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description (package private) javax.script.ScriptEngine
createScriptEngine(java.lang.String engine)
Deprecated.java.lang.Object
evaluate(Script script, javax.script.Bindings bindings)
Deprecated.Evaluate the script using the given bindings.(package private) boolean
isCompiledScriptsEmpty()
Deprecated.
-
-
-
Field Detail
-
scriptEngineManager
private final javax.script.ScriptEngineManager scriptEngineManager
Deprecated.
-
scriptEngines
private final java.util.concurrent.ConcurrentMap<java.lang.String,javax.script.ScriptEngine> scriptEngines
Deprecated.
-
compiledScripts
private final java.util.concurrent.ConcurrentMap<Script,javax.script.CompiledScript> compiledScripts
Deprecated.
-
systemPropertyAccessor
private final ScriptAccessor systemPropertyAccessor
Deprecated.
-
environmentVariableAccessor
private final ScriptAccessor environmentVariableAccessor
Deprecated.
-
forceScriptEvaluation
boolean forceScriptEvaluation
Deprecated.
-
-
Method Detail
-
evaluate
public java.lang.Object evaluate(Script script, javax.script.Bindings bindings) throws javax.script.ScriptException
Deprecated.Evaluate the script using the given bindings.- Parameters:
script
- the script to evaluatebindings
- the context-aware bindings- Returns:
- the result object
- Throws:
javax.script.ScriptException
- if an error occurs in script.
-
createScriptEngine
javax.script.ScriptEngine createScriptEngine(java.lang.String engine)
Deprecated.
-
isCompiledScriptsEmpty
boolean isCompiledScriptsEmpty()
Deprecated.
-
-