Package com.atlassian.crowd.feature
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 TypeMethodDescriptionbooleanReturns whether the feature is accessible under current licensing terms.voidThrowsFeatureInaccessibleExceptionif 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()ThrowsFeatureInaccessibleExceptionif the feature is not accessible. ThrowsFeatureDisabledExceptionif the feature is disabled.
-