Class Directories

java.lang.Object
com.atlassian.crowd.embedded.api.Directories

public final class Directories extends Object
Utility class for Directory
Since:
v2.7
  • Field Details

  • Method Details

    • namesOf

      @Deprecated public static List<String> namesOf(List<? extends Directory> directories)
      Deprecated.
      Use Directory.getName() instead. Since 3.4.0.
      Transforms directories into their names.
      Parameters:
      directories - some directories
      Returns:
      their names
    • directoryWithIdPredicate

      public static Predicate<Directory> directoryWithIdPredicate(long directoryId)
      Matches for directories with the specified directoryId.
      Parameters:
      directoryId - directory ID to match
      Returns:
      true if the directory has the specified directoryID