Class JexlSandbox.WhiteSet
java.lang.Object
org.apache.commons.jexl3.introspection.JexlSandbox.Names
org.apache.commons.jexl3.introspection.JexlSandbox.WhiteSet
- Enclosing class:
- JexlSandbox
Deprecated.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanAdds a name to this set.booleanAdds an alias to a name to this set.protected JexlSandbox.Namescopy()Gets a copy of these NamesGets whether a given name is allowed or not.toString()
- 
Constructor Details- 
WhiteSetpublic WhiteSet()Deprecated.Default constructor
 
- 
- 
Method Details- 
addDescription copied from class:JexlSandbox.NamesAdds a name to this set.- Specified by:
- addin class- JexlSandbox.Names
- Parameters:
- name- the name to add
- Returns:
- true if the name was really added, false if not
 
- 
aliasDescription copied from class:JexlSandbox.NamesAdds an alias to a name to this set.This only has an effect on allow lists. - Overrides:
- aliasin class- JexlSandbox.Names
- Parameters:
- name- the name to alias
- alias- the alias
- Returns:
- true if the alias was added, false if it was already present
 
- 
copyDescription copied from class:JexlSandbox.NamesGets a copy of these Names- Overrides:
- copyin class- JexlSandbox.Names
- Returns:
- a copy of these Names
 
- 
getDescription copied from class:JexlSandbox.NamesGets whether a given name is allowed or not.- Overrides:
- getin class- JexlSandbox.Names
- Parameters:
- name- the method/property name to check
- Returns:
- null (or NULL if name is null) if not allowed, the actual name to use otherwise
 
- 
toString
 
- 
JexlSandbox.AllowSet