@Internal
public interface FeatureEnabledChecker
Modifier and Type | Method and Description |
---|---|
boolean |
isAccessible()
Returns whether the feature is accessible under current licensing terms.
|
boolean |
isEnabled()
Returns true if the feature is enabled and accessible under current licensing terms or false otherwise
|
void |
throwIfFeatureDisabledOrInaccessible()
Throws
FeatureInaccessibleException if the feature is not accessible. |
boolean isEnabled()
boolean isAccessible()
void throwIfFeatureDisabledOrInaccessible()
FeatureInaccessibleException
if the feature is not accessible.
Throws FeatureDisabledException
if the feature is disabled.Copyright © 2021 Atlassian. All rights reserved.