Package com.atlassian.confluence.user
Class DarkFeatureEnabledCondition
- java.lang.Object
-
- com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
-
- com.atlassian.confluence.user.DarkFeatureEnabledCondition
-
- All Implemented Interfaces:
com.atlassian.plugin.web.baseconditions.BaseCondition
,com.atlassian.plugin.web.Condition
public class DarkFeatureEnabledCondition extends BaseConfluenceCondition
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
CONTEXT_KEY_HELPER
-
-
Constructor Summary
Constructors Constructor Description DarkFeatureEnabledCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(Map<String,String> params)
void
setDarkFeaturesManager(DarkFeaturesManager darkFeaturesManager)
protected boolean
shouldDisplay(WebInterfaceContext context)
-
Methods inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
shouldDisplay
-
-
-
-
Method Detail
-
init
public void init(Map<String,String> params) throws com.atlassian.plugin.PluginParseException
- Specified by:
init
in interfacecom.atlassian.plugin.web.Condition
- Overrides:
init
in classBaseConfluenceCondition
- Throws:
com.atlassian.plugin.PluginParseException
-
shouldDisplay
protected boolean shouldDisplay(WebInterfaceContext context)
- Specified by:
shouldDisplay
in classBaseConfluenceCondition
-
setDarkFeaturesManager
public void setDarkFeaturesManager(DarkFeaturesManager darkFeaturesManager)
-
-