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 aPredicatethat 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 aPredicatethat returns true when its (entity) argument's name is equal to the given name to match.- Type Parameters:
T- the type ofDirectoryEntitywhich the predicate should be for- Parameters:
name- the name that entities should match in order for the returned predicate to return true- Returns:
- a
Predicatethat returns true when its (entity) argument's name is equal to the given name to match.
-