Package com.atlassian.crowd.util
Class DirectoryEntityUtils
java.lang.Object
com.atlassian.crowd.util.DirectoryEntityUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends DirectoryEntity>
Predicate<T>whereNameEquals
(String name) Returns aPredicate
that returns true when its (entity) argument's name is equal to the given name to match.
-
Constructor Details
-
DirectoryEntityUtils
public DirectoryEntityUtils()
-
-
Method Details
-
whereNameEquals
Returns aPredicate
that returns true when its (entity) argument's name is equal to the given name to match.- Type Parameters:
T
- the type ofDirectoryEntity
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.
-