Package com.atlassian.crowd.feature
Interface FeatureEnabledChecker
- All Superinterfaces:
FeatureFlag
- All Known Subinterfaces:
ApplicationLicensingEnabledChecker
,AzureFilteringEnabledChecker
,HtmlRenderedEmailsEnabledChecker
- All Known Implementing Classes:
AzureFilteringEnabledCheckerImpl
,HtmlRenderedEmailsEnabledCheckerImpl
,PropertyBasedApplicationLicensingEnabledChecker
,PropertyBasedAzureFilteringEnabledChecker
,PropertyBasedFeatureEnabledChecker
Class providing information whether given feature is enabled.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether the feature is accessible under current licensing terms.void
ThrowsFeatureInaccessibleException
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()ThrowsFeatureInaccessibleException
if the feature is not accessible. ThrowsFeatureDisabledException
if the feature is disabled.
-