Class AddOnUserConsumesLicensePredicate

  • All Implemented Interfaces:
    com.google.common.base.Predicate<String>, Predicate<String>

    @Deprecated
    public class AddOnUserConsumesLicensePredicate
    extends Object
    implements com.google.common.base.Predicate<String>
    Deprecated.
    since 7.1.0 - No replacement
    Determines whether or not a username's user consumes a Confluence license.
    • Constructor Detail

      • AddOnUserConsumesLicensePredicate

        public AddOnUserConsumesLicensePredicate​(com.google.common.base.Supplier<com.atlassian.crowd.embedded.api.UnfilteredCrowdService> unfilteredCrowdServiceSupplier)
        Deprecated.
    • 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:
        apply in interface com.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_ADDONS group