com.atlassian.sal.api.features
Interface SiteDarkFeaturesStorage

All Known Implementing Classes:
DefaultSiteDarkFeaturesStorage

@PublicSpi
public interface SiteDarkFeaturesStorage

Persist site wide dark feature keys. The storage part used by the default DarkFeatureManager implementation.

Since:
2.10

Method Summary
 void disable(String featureKey)
          Disable the given dark feature key site wide.
 void enable(String featureKey)
          Enable the given dark feature key site wide.
 com.google.common.collect.ImmutableSet<String> getEnabledDarkFeatures()
           
 

Method Detail

enable

void enable(String featureKey)
Enable the given dark feature key site wide.

Parameters:
featureKey - the feature key to be enabled; not blank, leading and trailing whitespaces are removed

disable

void disable(String featureKey)
Disable the given dark feature key site wide.

Parameters:
featureKey - the feature key to be disabled; not blank, leading and trailing whitespaces are removed

getEnabledDarkFeatures

com.google.common.collect.ImmutableSet<String> getEnabledDarkFeatures()
Returns:
all enabled site wide dark feature keys.


Copyright © 2015 Atlassian. All rights reserved.