| Package | Description |
|---|---|
| io.apigee.trireme.core | |
| io.apigee.trireme.core.internal |
| Modifier and Type | Method and Description |
|---|---|
NodeEnvironment |
NodeRuntime.getEnvironment()
Return the Environment used to create this script.
|
NodeEnvironment |
NodeEnvironment.setHttpContainer(HttpServerContainer container)
Replace the default HTTP implementation with a custom implementation.
|
NodeEnvironment |
NodeEnvironment.setOptLevel(int optLevel)
Set the Rhino optimization level for all new scripts that are run.
|
NodeEnvironment |
NodeEnvironment.setSandbox(Sandbox box)
Set up a restricted environment.
|
NodeEnvironment |
NodeEnvironment.setScriptTimeLimit(long limit,
TimeUnit unit)
Set the maximum amount of time that any one "tick" of this script is allowed to execute before an
exception is raised and the script exits.
|
NodeEnvironment |
NodeEnvironment.setSealRoot(boolean sealRoot)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
NodeEnvironment |
ScriptRunner.getEnvironment() |
| Constructor and Description |
|---|
ScriptRunner(NodeScript so,
NodeEnvironment env,
Sandbox sandbox,
File scriptFile,
String[] args) |
ScriptRunner(NodeScript so,
NodeEnvironment env,
Sandbox sandbox,
String[] args,
boolean forceRepl) |
ScriptRunner(NodeScript so,
NodeEnvironment env,
Sandbox sandbox,
String scriptName,
String script,
String[] args) |
Copyright © 2016 Apigee Corporation. All Rights Reserved.