Package com.atlassian.crowd.email
Class HtmlRenderedEmailsEnabledCheckerImpl
java.lang.Object
com.atlassian.crowd.email.HtmlRenderedEmailsEnabledCheckerImpl
- All Implemented Interfaces:
HtmlRenderedEmailsEnabledChecker
,FeatureFlag
,FeatureEnabledChecker
public class HtmlRenderedEmailsEnabledCheckerImpl
extends Object
implements HtmlRenderedEmailsEnabledChecker
-
Constructor Summary
ConstructorDescriptionHtmlRenderedEmailsEnabledCheckerImpl
(PropertyManager propertyManager, DcLicenseChecker dcLicenseChecker) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether the feature is accessible under current licensing terms.boolean
Returns true if the feature is enabled and accessible under current licensing terms or false otherwisevoid
ThrowsFeatureInaccessibleException
if the feature is not accessible.
-
Constructor Details
-
HtmlRenderedEmailsEnabledCheckerImpl
public HtmlRenderedEmailsEnabledCheckerImpl(PropertyManager propertyManager, DcLicenseChecker dcLicenseChecker)
-
-
Method Details
-
isAccessible
public boolean isAccessible()Description copied from interface:FeatureEnabledChecker
Returns whether the feature is accessible under current licensing terms.- Specified by:
isAccessible
in interfaceFeatureEnabledChecker
-
throwIfFeatureDisabledOrInaccessible
public void throwIfFeatureDisabledOrInaccessible()Description copied from interface:FeatureEnabledChecker
ThrowsFeatureInaccessibleException
if the feature is not accessible. ThrowsFeatureDisabledException
if the feature is disabled.- Specified by:
throwIfFeatureDisabledOrInaccessible
in interfaceFeatureEnabledChecker
-
isEnabled
public boolean isEnabled()Description copied from interface:FeatureFlag
Returns true if the feature is enabled and accessible under current licensing terms or false otherwise- Specified by:
isEnabled
in interfaceFeatureFlag
-