Interface FeatureEnabledChecker

All Superinterfaces:
com.atlassian.crowd.embedded.api.FeatureFlag
All Known Subinterfaces:
ApplicationLicensingEnabledChecker

@Internal public interface FeatureEnabledChecker extends com.atlassian.crowd.embedded.api.FeatureFlag
Class providing information whether given feature is enabled.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns whether the feature is accessible under current licensing terms.
    void
    Throws FeatureInaccessibleException if the feature is not accessible.

    Methods inherited from interface com.atlassian.crowd.embedded.api.FeatureFlag

    isEnabled
  • Method Details

    • isAccessible

      boolean isAccessible()
      Returns whether the feature is accessible under current licensing terms.
    • throwIfFeatureDisabledOrInaccessible

      void throwIfFeatureDisabledOrInaccessible()
      Throws FeatureInaccessibleException if the feature is not accessible. Throws FeatureDisabledException if the feature is disabled.