edu.internet2.middleware.grouper.shibboleth.filter
Class StemNameFilter

java.lang.Object
  extended by edu.internet2.middleware.grouper.shibboleth.filter.AbstractFilter<edu.internet2.middleware.grouper.Stem>
      extended by edu.internet2.middleware.grouper.shibboleth.filter.StemNameFilter
All Implemented Interfaces:
edu.internet2.middleware.grouper.filter.QueryFilter<edu.internet2.middleware.grouper.Stem>, Filter<edu.internet2.middleware.grouper.Stem>

public class StemNameFilter
extends AbstractFilter<edu.internet2.middleware.grouper.Stem>

Selects a Stem by exact name.


Constructor Summary
StemNameFilter(String name)
          Creates a StemNameExactFilter which returns a Stem with the given name.
 
Method Summary
 boolean matches(edu.internet2.middleware.grouper.Stem stem)
          Returns true if the given Stem has the configured name.
 
Methods inherited from class edu.internet2.middleware.grouper.shibboleth.filter.AbstractFilter
getGrouperSession, getQueryFilter, getResults, setQueryFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StemNameFilter

public StemNameFilter(String name)
Creates a StemNameExactFilter which returns a Stem with the given name.

Parameters:
name - the stem name
Method Detail

matches

public boolean matches(edu.internet2.middleware.grouper.Stem stem)
Returns true if the given Stem has the configured name. Returns true if the Grouper object would be returned by the filter. False otherwise.

Parameters:
stem - the Grouper object
Returns:
if the Grouper object matches or not


Copyright © 2012 Internet2. All Rights Reserved.