public class NameFilter extends AbstractFilter<String>
Constructor and Description |
---|
NameFilter(String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
getResults(GrouperSession s) |
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>
QueryException
public boolean matches(Object name)
name
- the Grouper objectCopyright © 2014 Internet2. All rights reserved.