public final class InlineScriptSpec extends AbstractScriptSpec
engineType| Constructor and Description |
|---|
InlineScriptSpec(String script,
ScriptEngineType engineType) |
| Modifier and Type | Method and Description |
|---|---|
CompiledScript |
compile(Compilable compiler)
Compiles the script for later execution.
|
boolean |
equals(Object obj) |
String |
getScript()
Returns the script represented by this specification.
|
int |
hashCode() |
boolean |
isStatic()
Returns whether the script specification represents a script that is static (i.e.
|
protected void |
setScriptSpecField(DocumentWorkerScript script)
Updates the relevant field in the specified script.
|
create, getEngineType, toDocumentWorkerScriptpublic InlineScriptSpec(String script, ScriptEngineType engineType)
@Nonnull public CompiledScript compile(Compilable compiler) throws ScriptException
AbstractScriptSpeccompile in class AbstractScriptSpeccompiler - the engine to use to do the compilationScriptException - if compilation fails@Nonnull public String getScript()
AbstractScriptSpecgetScript in class AbstractScriptSpecpublic boolean isStatic()
AbstractScriptSpecisStatic in class AbstractScriptSpecprotected void setScriptSpecField(DocumentWorkerScript script)
AbstractScriptSpecsetScriptSpecField in class AbstractScriptSpecscript - the script object to be updatedCopyright © 2016–2021 EntIT Software LLC, a Micro Focus company. All rights reserved.