public class ScriptHelperConfig
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getOptimizationLevel()
Return the default optimization level.
|
static boolean |
isUsingContextInAdditionalScripts()
Return true if the
ScriptContext and ScriptHelper are used in additional scripts. |
static void |
setOptimizationLevel(java.lang.String optimLevel)
Set the optimization level.
|
static void |
useContextInAdditionalScripts(boolean use)
Set that the
ScriptContext and ScriptHelper are used in additional scripts. |
public static void setOptimizationLevel(java.lang.String optimLevel)
optimLevel
- the optimization levelpublic static java.lang.String getOptimizationLevel()
public static void useContextInAdditionalScripts(boolean use)
ScriptContext
and ScriptHelper
are used in additional scripts.use
- true if the context and helper are used in additional scriptspublic static boolean isUsingContextInAdditionalScripts()
ScriptContext
and ScriptHelper
are used in additional scripts.Copyright © 2019-2025 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence