public final class V8RuntimeOptions extends RuntimeOptions<V8RuntimeOptions>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GLOBAL_THIS
The constant GLOBAL_THIS.
|
static V8Flags |
V8_FLAGS
The constant V8_FLAGS.
|
createSnapshotEnabled, snapshotBlob
Constructor and Description |
---|
V8RuntimeOptions()
Instantiates a new V8 runtime options.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGlobalName()
Gets global name.
|
V8RuntimeOptions |
setGlobalName(java.lang.String globalName)
Sets global name.
|
getSnapshotBlob, isCreateSnapshotEnabled, setCreateSnapshotEnabled, setSnapshotBlob
public static final java.lang.String GLOBAL_THIS
public static final V8Flags V8_FLAGS
public V8RuntimeOptions()
public java.lang.String getGlobalName()
public V8RuntimeOptions setGlobalName(java.lang.String globalName)
globalName
- the global name