public static final class JexlSandbox.Permissions extends Object
Modifier and Type | Method and Description |
---|---|
JexlSandbox.Names |
execute()
Gets the set of method names in these permissions.
|
JexlSandbox.Permissions |
execute(String... mnames)
Adds a list of executable methods names to these permissions.
|
boolean |
isInheritable() |
JexlSandbox.Names |
read()
Gets the set of readable property names in these permissions.
|
JexlSandbox.Permissions |
read(String... pnames)
Adds a list of readable property names to these permissions.
|
JexlSandbox.Names |
write()
Gets the set of writable property names in these permissions.
|
JexlSandbox.Permissions |
write(String... pnames)
Adds a list of writable property names to these permissions.
|
public boolean isInheritable()
public JexlSandbox.Permissions read(String... pnames)
pnames
- the property namespublic JexlSandbox.Permissions write(String... pnames)
pnames
- the property namespublic JexlSandbox.Permissions execute(String... mnames)
The constructor is denoted as the empty-string, all other methods by their names.
mnames
- the method namespublic JexlSandbox.Names read()
public JexlSandbox.Names write()
public JexlSandbox.Names execute()
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.