Package com.atlassian.crowd.embedded.api
Class Directories
java.lang.Object
com.atlassian.crowd.embedded.api.Directories
Utility class for
Directory
- Since:
- v2.7
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondirectoryWithIdPredicate
(long directoryId) Matches for directories with the specified directoryId.Deprecated.UseDirectory.getName()
instead.
-
Field Details
-
NAME_FUNCTION
Deprecated.UseDirectory.getName()
instead. Since 3.4.0.A function that projects the directory name -
ACTIVE_FILTER
Deprecated.UseDirectory.isActive()
instead. Since 3.4.0.A predicate that matches directories that are active
-
-
Method Details
-
namesOf
Deprecated.UseDirectory.getName()
instead. Since 3.4.0.Transforms directories into their names.- Parameters:
directories
- some directories- Returns:
- their names
-
directoryWithIdPredicate
Matches for directories with the specified directoryId.- Parameters:
directoryId
- directory ID to match- Returns:
true
if the directory has the specified directoryID
-
Directory.isActive()
instead.