public final class IOAccess extends Object
disabled
, enabled
, or virtualized using a custom
file system
.Modifier and Type | Class and Description |
---|---|
static class |
IOAccess.Builder
Builder to create a custom
IO access configuration . |
Modifier and Type | Field and Description |
---|---|
static IOAccess |
ALL
Provides guest language full access to host IO.
|
static IOAccess |
NONE
Provides guest language no access to IO.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
static IOAccess.Builder |
newBuilder()
Creates a new builder that allows to create a custom IO access configuration.
|
static IOAccess.Builder |
newBuilder(IOAccess prototype)
Creates a new builder that allows to create a custom IO access configuration based of a
preset configuration.
|
String |
toString() |
public static final IOAccess NONE
NONE
is a default value for Context
s created
without all access
. If
you are using this preset, the newly added privileges will default to false
for this
preset.
Equivalent of using the following builder configuration:
IOAccess.newBuilder().build();
public static final IOAccess ALL
ALL
is a default value for Context
s created with
all access
set to
true
. If you are using this preset, the newly added privileges will default to
true
for this preset.
Equivalent of using the following builder configuration:
IOAccess.newBuilder()
.allowHostFileAccess(true)
.allowHostSocketAccess(true)
.build();
public static IOAccess.Builder newBuilder()
method
.public static IOAccess.Builder newBuilder(IOAccess prototype)
method
.