public abstract static class JexlSandbox.Names extends Object
| Constructor and Description |
|---|
Names() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
add(String name)
Adds a name to this set.
|
boolean |
alias(String name,
String alias)
Adds an alias to a name to this set.
|
String |
get(String name)
Whether a given name is allowed or not.
|
public abstract boolean add(String name)
name - the name to addpublic boolean alias(String name, String alias)
This only has an effect on allow lists.
name - the name to aliasalias - the aliasCopyright © 2001–2021 The Apache Software Foundation. All rights reserved.