com.atlassian.crowd.util
Class DirectoryEntityUtils
java.lang.Object
com.atlassian.crowd.util.DirectoryEntityUtils
public class DirectoryEntityUtils
- extends Object
Method Summary |
static
|
whereNameEquals(String name)
Returns a Predicate that returns true when its (entity) argument's name is equal to the given name to
match. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectoryEntityUtils
public DirectoryEntityUtils()
whereNameEquals
public static <T extends DirectoryEntity> com.google.common.base.Predicate<T> whereNameEquals(String name)
- Returns a
Predicate
that returns true when its (entity) argument's name is equal to the given name to
match.
- Type Parameters:
T
- the type of DirectoryEntity
which the predicate should be for- Parameters:
name
- the name that entities should match in order for the returned predicate to return true
- Returns:
- a
Predicate
that returns true when its (entity) argument's name is equal to the given name to
match.
Copyright © 2013 Atlassian. All Rights Reserved.