Class Sandbox.WhiteSet
java.lang.Object
edu.internet2.middleware.grouperClientExt.org.apache.commons.jexl2.introspection.Sandbox.Names
edu.internet2.middleware.grouperClientExt.org.apache.commons.jexl2.introspection.Sandbox.WhiteSet
- Enclosing class:
- Sandbox
A white set of names.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
WhiteSet
public WhiteSet()
-
-
Method Details
-
add
Description copied from class:Sandbox.Names
Adds a name to this set.- Specified by:
add
in classSandbox.Names
- Parameters:
name
- the name to add- Returns:
- true if the name was really added, false if not
-
alias
Description copied from class:Sandbox.Names
Adds an alias to a name to this set.This only has an effect on white lists.
- Overrides:
alias
in classSandbox.Names
- Parameters:
name
- the name to aliasalias
- the alias- Returns:
- true if the alias was added, false if it was already present
-
get
Description copied from class:Sandbox.Names
Whether a given name is allowed or not.- Overrides:
get
in classSandbox.Names
- Parameters:
name
- the method/property name to check- Returns:
- null if not allowed, the actual name to use otherwise
-