public class

DarkFeatures

extends Object
java.lang.Object
   ↳ com.atlassian.jira.plugin.profile.DarkFeatures

Class Overview

Represents the current state of the dark features for a particular user.

Summary

Public Constructors
DarkFeatures(Set<String> systemEnabledFeatures, Set<String> siteEnabledFeatures, Set<String> userEnabledFeatures)
Public Methods
Set<String> getAllEnabledFeatures()
Set<String> getGlobalEnabledFeatureKeys()
Set<String> getSiteEnabledFeatures()
Set<String> getSystemEnabledFeatures()
Set<String> getUserEnabledFeatures()
boolean isFeatureEnabled(String featureKey)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public DarkFeatures (Set<String> systemEnabledFeatures, Set<String> siteEnabledFeatures, Set<String> userEnabledFeatures)

Public Methods

public Set<String> getAllEnabledFeatures ()

public Set<String> getGlobalEnabledFeatureKeys ()

Returns
  • Dark Features enabled for all users, whether by system.property or site configuration.

public Set<String> getSiteEnabledFeatures ()

public Set<String> getSystemEnabledFeatures ()

public Set<String> getUserEnabledFeatures ()

public boolean isFeatureEnabled (String featureKey)