Class Applications
java.lang.Object
com.atlassian.crowd.model.application.Applications
Utility class for
Application
- Since:
- v2.7
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Predicate<Application>
Deprecated.static final Function<Application,
String> Deprecated.UseApplication.getName()
instead. -
Method Summary
Modifier and TypeMethodDescriptiongetActiveDirectories
(Application application) Given anapplication
, retrieve all active directories associated with it.namesOf
(Iterable<? extends Application> applications) Transforms applications into their names.
-
Field Details
-
NAME_FUNCTION
Deprecated.UseApplication.getName()
instead. Since 3.4.0.A function that projects the application name -
ACTIVE_FILTER
Deprecated.UseApplication.isActive()
instead. Since 3.4.0.A predicate that checks if the application is active
-
-
Method Details
-
namesOf
Transforms applications into their names.- Parameters:
applications
- some applications- Returns:
- their names
-
getActiveDirectories
Given anapplication
, retrieve all active directories associated with it.- Parameters:
application
- application to query- Returns:
- list of active directories associated with
application
-
Application.isActive()
instead.