public class DarkFeatureEnabledCondition extends Object implements com.atlassian.plugin.web.Condition
<web-item key="some-key" section="some/section" weight="1"> <label key="menu.title"/> <link>/some/path</link> <condition class="com.atlassian.sal.api.features.DarkFeatureEnabledCondition"> <param name="featureKey">feature.key</param> </condition> </web-item>The feature key is validated using the
ValidFeatureKeyPredicate
.ValidFeatureKeyPredicate
Constructor and Description |
---|
DarkFeatureEnabledCondition(DarkFeatureManager darkFeatureManager) |
public DarkFeatureEnabledCondition(DarkFeatureManager darkFeatureManager)
Copyright © 2015 Atlassian. All rights reserved.