public interface CompileCallback
Modifier and Type | Method and Description |
---|---|
void |
onScriptCompiled(String sourceDescriptor,
ScriptFactory compiled)
Called when the
ScriptFactory has been compiled successfully. |
void onScriptCompiled(String sourceDescriptor, ScriptFactory compiled)
ScriptFactory
has been compiled successfully. Note that this may be called in another
thread - make sure your handling code is threadsafe.sourceDescriptor
- A source description: may be a file name or a unique identifier assigned to a source string, or null.compiled
- The compiled source codeCopyright © 2021. All rights reserved.