@Deprecated public static final class JexlSandbox.WhiteSet extends JexlSandbox.Names
| Constructor and Description | 
|---|
| WhiteSet()Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| 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 boolean add(String name)
JexlSandbox.Namesadd in class JexlSandbox.Namesname - the name to addpublic boolean alias(String name, String alias)
JexlSandbox.NamesThis only has an effect on allow lists.
alias in class JexlSandbox.Namesname - the name to aliasalias - the aliaspublic String get(String name)
JexlSandbox.Namesget in class JexlSandbox.Namesname - the method/property name to checkCopyright © 2001–2021 The Apache Software Foundation. All rights reserved.