Class DarkFeatureEnabledUrlReadingCondition
java.lang.Object
com.atlassian.confluence.plugin.descriptor.web.urlreadingconditions.DarkFeatureEnabledUrlReadingCondition
- All Implemented Interfaces:
com.atlassian.webresource.spi.condition.UrlReadingCondition
public class DarkFeatureEnabledUrlReadingCondition
extends Object
implements com.atlassian.webresource.spi.condition.UrlReadingCondition
Loads a web resource based on a dark feature being enabled
- Since:
- 5.6
-
Constructor Summary
ConstructorDescriptionDarkFeatureEnabledUrlReadingCondition
(DarkFeaturesManager darkFeaturesManager) -
Method Summary
-
Constructor Details
-
DarkFeatureEnabledUrlReadingCondition
-
-
Method Details
-
init
- Specified by:
init
in interfacecom.atlassian.webresource.spi.condition.UrlReadingCondition
- Throws:
com.atlassian.plugin.PluginParseException
-
addToUrl
public void addToUrl(com.atlassian.webresource.api.url.UrlBuilder urlBuilder) - Specified by:
addToUrl
in interfacecom.atlassian.webresource.spi.condition.UrlReadingCondition
-
shouldDisplay
public boolean shouldDisplay(com.atlassian.webresource.api.QueryParams params) - Specified by:
shouldDisplay
in interfacecom.atlassian.webresource.spi.condition.UrlReadingCondition
-