public static final class Sandbox.WhiteSet extends Sandbox.Names
| Constructor and Description |
|---|
WhiteSet() |
| 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)
Sandbox.Namesadd in class Sandbox.Namesname - the name to addpublic boolean alias(String name, String alias)
Sandbox.NamesThis only has an effect on white lists.
alias in class Sandbox.Namesname - the name to aliasalias - the aliaspublic String get(String name)
Sandbox.Namesget in class Sandbox.Namesname - the method/property name to checkCopyright © 2021 Internet2. All rights reserved.