@PublicAPI public class ForkEnvironmentScript extends Script<ForkEnvironmentScriptResult>
ARGUMENTS_NAME, DEFAULT_OUTPUT_MAX_SIZE, id, logger, MD5, parameters, script, scriptEngineLookupName, url
Constructor and Description |
---|
ForkEnvironmentScript(Script<?> original) |
Modifier and Type | Method and Description |
---|---|
protected String |
getDefaultScriptName() |
protected ScriptResult<ForkEnvironmentScriptResult> |
getResult(Object evalResult,
Bindings bindings)
Return the variable awaited from the script execution
|
protected void |
prepareSpecialBindings(Bindings bindings)
Specify the variable awaited from the script execution
|
createScriptEngine, digest, display, equals, execute, execute, fetchScript, fetchScriptWithExceptionHandling, fetchUrlIfNeeded, getEngineName, getId, getParameters, getReader, getScript, getScriptName, getScriptUrl, hashCode, overrideDefaultScriptName, prepareBindings, readFile, setScript, toString
public ForkEnvironmentScript(Script<?> original) throws InvalidScriptException
InvalidScriptException
protected String getDefaultScriptName()
getDefaultScriptName
in class Script<ForkEnvironmentScriptResult>
protected void prepareSpecialBindings(Bindings bindings)
Script
prepareSpecialBindings
in class Script<ForkEnvironmentScriptResult>
protected ScriptResult<ForkEnvironmentScriptResult> getResult(Object evalResult, Bindings bindings)
Script
getResult
in class Script<ForkEnvironmentScriptResult>