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 Details

    • DarkFeatureEnabledUrlReadingCondition

      public DarkFeatureEnabledUrlReadingCondition(DarkFeaturesManager darkFeaturesManager)
  • Method Details

    • init

      public void init(Map<String,String> params) throws com.atlassian.plugin.PluginParseException
      Specified by:
      init in interface com.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 interface com.atlassian.webresource.spi.condition.UrlReadingCondition
    • shouldDisplay

      public boolean shouldDisplay(com.atlassian.webresource.api.QueryParams params)
      Specified by:
      shouldDisplay in interface com.atlassian.webresource.spi.condition.UrlReadingCondition