public class ScriptRegistrar extends Object
| Constructor and Description |
|---|
ScriptRegistrar() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isCompiledScript(String scriptName)
Determine whether or not a script has been marked for compilation.
|
static boolean |
isDynamicScript(String scriptName)
Determine whether or not a script has been marked as being a dynamic script.
|
static void |
registerCompiledScript(String scriptName)
Mark a script as either compiled or set to be compiled.
|
static void |
registerDynamicScript(String scriptName)
Register a script as a dynamically-generated script.
|
public static void registerCompiledScript(String scriptName)
scriptName - The name of the script to be marked as either compiled or ready for compilation.public static void registerDynamicScript(String scriptName)
scriptName - The name of the dynamically-generated script.DynamicCompilerAdderpublic static boolean isCompiledScript(String scriptName)
scriptName - The name of the script whose compiled status is to be determined.true if the given script name is marked for compilation.public static boolean isDynamicScript(String scriptName)
scriptName - The name of the script whose dynamic nature is to be determined.true if the given script name has been marked as being a dynamic script.registerDynamicScript(String)Copyright © 2019. All rights reserved.