public class NameFilter extends AbstractFilter<String>
Constructor and Description |
---|
NameFilter(String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
getResults(GrouperSession s)
Get filter results.
|
boolean |
matches(Object name)
Returns true if the given name equals the configured name.
|
getGrouperSession, getQueryFilter, setQueryFilter
public NameFilter(String name)
name
- the namepublic Set<String> getResults(GrouperSession s) throws QueryException
getResults
in interface QueryFilter<String>
getResults
in class AbstractFilter<String>
s
- Get groups within this session context.QueryException
public boolean matches(Object name)
name
- the Grouper objectCopyright © 2016 Internet2. All rights reserved.