Class FeatureEnabledCondition
java.lang.Object
com.atlassian.jira.plugin.webfragment.conditions.FeatureEnabledCondition
- All Implemented Interfaces:
com.atlassian.plugin.web.api.baseconditions.BaseCondition
,com.atlassian.plugin.web.Condition
@ExperimentalApi
public class FeatureEnabledCondition
extends Object
implements com.atlassian.plugin.web.Condition
An extension of
Condition
which helps to decide whether a web section or
web item should be displayed.
DO NOT USE THIS CONDITION ON A WEB RESOURCE - Because we lose performance gains if a web resources can't be
cached as part of a batch. Basically it just slows things down a lot for web resource loading.- Since:
- 7.1
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FeatureEnabledCondition
-
-
Method Details
-
init
- Specified by:
init
in interfacecom.atlassian.plugin.web.Condition
- Throws:
com.atlassian.plugin.PluginParseException
-
shouldDisplay
- Specified by:
shouldDisplay
in interfacecom.atlassian.plugin.web.Condition
-