public class DirectoryEntityUtils extends Object
Constructor and Description |
---|
DirectoryEntityUtils() |
Modifier and Type | Method and Description |
---|---|
static <T extends DirectoryEntity> |
whereNameEquals(String name)
Returns a
Predicate that returns true when its (entity) argument's name is equal to the given name to
match. |
public static <T extends DirectoryEntity> com.google.common.base.Predicate<T> whereNameEquals(String name)
Predicate
that returns true when its (entity) argument's name is equal to the given name to
match.T
- the type of DirectoryEntity
which the predicate should be forname
- the name that entities should match in order for the returned predicate to return truePredicate
that returns true when its (entity) argument's name is equal to the given name to
match.Copyright © 2021 Atlassian. All rights reserved.