edu.internet2.middleware.grouper.shibboleth.filter
Class StemInStemFilter
java.lang.Object
edu.internet2.middleware.grouper.shibboleth.filter.AbstractFilter<edu.internet2.middleware.grouper.Stem>
edu.internet2.middleware.grouper.shibboleth.filter.StemInStemFilter
- All Implemented Interfaces:
- edu.internet2.middleware.grouper.filter.QueryFilter<edu.internet2.middleware.grouper.Stem>, Filter<edu.internet2.middleware.grouper.Stem>
public class StemInStemFilter
- extends AbstractFilter<edu.internet2.middleware.grouper.Stem>
Selects child Stem
s in a Stem
with Stem.Scope
.
Constructor Summary |
StemInStemFilter(String name,
String scope)
Creates a StemsInStemFilter which returns the child Stem s which are under the given Stem
name and scope. |
Method Summary |
boolean |
matches(edu.internet2.middleware.grouper.Stem stem)
Returns true if the stem is a child of the configured stem with the configured scope. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StemInStemFilter
public StemInStemFilter(String name,
String scope)
- Creates a
StemsInStemFilter
which returns the child Stem
s which are under the given Stem
name and scope.
- Parameters:
name
- the stem namescope
- the stem scope
matches
public boolean matches(edu.internet2.middleware.grouper.Stem stem)
- Returns true if the stem is a child of the configured stem with the configured scope.
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.