| Constructor and Description |
|---|
NashornSandboxes() |
| Modifier and Type | Method and Description |
|---|---|
static NashornSandbox |
create()
Creates a new sandbox instance.
|
static NashornSandbox |
create(String... args)
Create a sandbox while supplying arguments for the engine such as '--no-java'.
|
public static NashornSandbox create()
Creates a new sandbox instance.
public static NashornSandbox create(String... args)
Create a sandbox while supplying arguments for the engine such as '--no-java'.
More information on available parameters can be found in the following:
args - Options for initializing the Nashorn engine.Copyright © 2018. All rights reserved.