public static final class Sandbox.Permissions extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
Sandbox.Names |
execute()
Gets the set of method names in these permissions.
|
Sandbox.Permissions |
execute(java.lang.String... mnames)
Adds a list of executable methods names to these permissions.
|
Sandbox.Names |
read()
Gets the set of readable property names in these permissions.
|
Sandbox.Permissions |
read(java.lang.String... pnames)
Adds a list of readable property names to these permissions.
|
Sandbox.Names |
write()
Gets the set of writeable property names in these permissions.
|
Sandbox.Permissions |
write(java.lang.String... pnames)
Adds a list of writeable property names to these permissions.
|
public Sandbox.Permissions read(java.lang.String... pnames)
pnames
- the property namespublic Sandbox.Permissions write(java.lang.String... pnames)
pnames
- the property namespublic Sandbox.Permissions execute(java.lang.String... mnames)
The constructor is denoted as the empty-string, all other methods by their names.
mnames
- the method namespublic Sandbox.Names read()
public Sandbox.Names write()
public Sandbox.Names execute()