com.atlassian.confluence.plugin.descriptor.web.urlreadingconditions
Class DarkFeatureEnabledUrlReadingCondition

java.lang.Object
  extended by com.atlassian.confluence.plugin.descriptor.web.urlreadingconditions.DarkFeatureEnabledUrlReadingCondition
All Implemented Interfaces:
com.atlassian.plugin.web.baseconditions.BaseCondition, com.atlassian.plugin.webresource.condition.UrlReadingCondition

public class DarkFeatureEnabledUrlReadingCondition
extends Object
implements com.atlassian.plugin.webresource.condition.UrlReadingCondition

Loads a web resource based on a dark feature being enabled

Since:
5.6

Constructor Summary
DarkFeatureEnabledUrlReadingCondition(DarkFeaturesManager darkFeaturesManager)
           
 
Method Summary
 void addToUrl(com.atlassian.plugin.webresource.url.UrlBuilder urlBuilder)
           
 void init(Map<String,String> params)
           
 boolean shouldDisplay(com.atlassian.plugin.webresource.QueryParams params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DarkFeatureEnabledUrlReadingCondition

public DarkFeatureEnabledUrlReadingCondition(DarkFeaturesManager darkFeaturesManager)
Method Detail

init

public void init(Map<String,String> params)
Specified by:
init in interface com.atlassian.plugin.webresource.condition.UrlReadingCondition

addToUrl

public void addToUrl(com.atlassian.plugin.webresource.url.UrlBuilder urlBuilder)
Specified by:
addToUrl in interface com.atlassian.plugin.webresource.condition.UrlReadingCondition

shouldDisplay

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


Copyright © 2003–2015 Atlassian. All rights reserved.