Package com.atlassian.confluence.user
Class AddOnUserConsumesLicensePredicate
- java.lang.Object
-
- com.atlassian.confluence.user.AddOnUserConsumesLicensePredicate
-
@Deprecated public class AddOnUserConsumesLicensePredicate extends Object implements com.google.common.base.Predicate<String>
Deprecated.since 7.1.0 - No replacementDetermines whether or not a username's user consumes a Confluence license.
-
-
Constructor Summary
Constructors Constructor Description AddOnUserConsumesLicensePredicate(com.google.common.base.Supplier<com.atlassian.crowd.embedded.api.UnfilteredCrowdService> unfilteredCrowdServiceSupplier)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanapply(@Nullable String username)Deprecated.Determines whether or not a username's corresponding user consumes a Confluence license.
-
-
-
Method Detail
-
apply
public boolean apply(@Nullable String username)
Deprecated.Determines whether or not a username's corresponding user consumes a Confluence license.- Specified by:
applyin interfacecom.google.common.base.Predicate<String>- Parameters:
username- username of the user being tested- Returns:
- true if the username is non-null and the corresponding user is NOT a member of the
ATLASSIAN_ADDONSgroup
-
-