Class DirectoryEntityUtils

java.lang.Object
com.atlassian.crowd.util.DirectoryEntityUtils

public class DirectoryEntityUtils extends Object
  • Constructor Details

    • DirectoryEntityUtils

      public DirectoryEntityUtils()
  • Method Details

    • whereNameEquals

      public static <T extends DirectoryEntity> 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.