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.ObjectDeprecated.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>compiledScriptsDeprecated.private ScriptAccessorenvironmentVariableAccessorDeprecated.(package private) booleanforceScriptEvaluationDeprecated.private javax.script.ScriptEngineManagerscriptEngineManagerDeprecated.private java.util.concurrent.ConcurrentMap<java.lang.String,javax.script.ScriptEngine>scriptEnginesDeprecated.private ScriptAccessorsystemPropertyAccessorDeprecated.
-
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.ScriptEnginecreateScriptEngine(java.lang.String engine)Deprecated.java.lang.Objectevaluate(Script script, javax.script.Bindings bindings)Deprecated.Evaluate the script using the given bindings.(package private) booleanisCompiledScriptsEmpty()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.
-
-