com.atlassian.confluence.setup.settings
Class DefaultDarkFeaturesManager
java.lang.Object
com.atlassian.confluence.setup.settings.DefaultDarkFeaturesManager
- All Implemented Interfaces:
- DarkFeaturesManager
public class DefaultDarkFeaturesManager
- extends Object
- implements DarkFeaturesManager
Creates DarkFeatures
instances from the PropertySet associated with the ThreadLocal user.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultDarkFeaturesManager
public DefaultDarkFeaturesManager(UserAccessor userAccessor,
com.atlassian.bandana.BandanaManager bandanaManager)
getDarkFeatures
public DarkFeatures getDarkFeatures()
- Returns the dark features for the current user.
- Specified by:
getDarkFeatures
in interface DarkFeaturesManager
- Returns:
- the dark features for the current user.
getDarkFeatures
public DarkFeatures getDarkFeatures(com.atlassian.user.User user)
- Specified by:
getDarkFeatures
in interface DarkFeaturesManager
- Returns:
- the dark features for the given user.
enableUserFeature
public void enableUserFeature(String featureKey)
- Specified by:
enableUserFeature
in interface DarkFeaturesManager
disableUserFeature
public void disableUserFeature(String featureKey)
- Specified by:
disableUserFeature
in interface DarkFeaturesManager
enableSiteFeature
public void enableSiteFeature(String featureKey)
- Specified by:
enableSiteFeature
in interface DarkFeaturesManager
disableSiteFeature
public void disableSiteFeature(String featureKey)
- Specified by:
disableSiteFeature
in interface DarkFeaturesManager
Copyright © 2003-2013 Atlassian. All Rights Reserved.