@ExperimentalApi public class

FeatureEnabledCondition

extends Object
implements Condition
java.lang.Object
   ↳ com.atlassian.jira.plugin.webfragment.conditions.FeatureEnabledCondition

@ExperimentalApi

This class is considered usable by external developers but its contracts have not stabilized.

Experimental APIs may be changed at any time before being marked @Internal or @PublicApi.

Class Overview

An extension of com.atlassian.plugin.web.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.

Summary

Public Constructors
FeatureEnabledCondition(FeatureManager featureManager)
Public Methods
void init(Map<StringString> params)
boolean shouldDisplay(Map<StringObject> params)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.plugin.web.Condition

Public Constructors

public FeatureEnabledCondition (FeatureManager featureManager)

Public Methods

public void init (Map<StringString> params)

public boolean shouldDisplay (Map<StringObject> params)