public class

IsFeatureEnabledCondition

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

Class Overview

Will allow displaying given fragment if a particular feature is enabled.

The feature must be provided as a parameter to this condition named 'featureKey'.

Summary

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

Public Constructors

public IsFeatureEnabledCondition (FeatureManager featureManager)

Public Methods

public void init (Map<StringString> params)

public boolean shouldDisplay (Map<StringObject> context)