@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, getOwner, getParameters, getReader, getScript, getScriptName, getScriptUrl, getSessionid, hashCode, isLazyFetch, overrideDefaultScriptName, prepareBindings, readFile, setOwner, setScript, setSessionid, 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>