Class VacantDarkFeaturesManager
java.lang.Object
com.atlassian.confluence.setup.settings.VacantDarkFeaturesManager
- All Implemented Interfaces:
DarkFeaturesManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final DarkFeaturesprotected static final DarkFeatures -
Method Summary
Modifier and TypeMethodDescriptionvoiddisableSiteFeature(String featureKey) voiddisableUserFeature(ConfluenceUser user, String featureKey) Disables the specified feature for the specified UservoiddisableUserFeature(String featureKey) voidenableSiteFeature(String featureKey) voidenableUserFeature(ConfluenceUser user, String featureKey) Enables the specified feature for the specified UservoidenableUserFeature(String featureKey) This is vacant (tenant-less) manager.This is vacant (tenant-less) manager.This is vacant (tenant-less) manager.This is vacant (tenant-less) manager.
-
Field Details
-
SYSTEM_DISABLED_FEATURES
-
NO_FEATURES
-
ONLY_SYSTEM_FEATURES
-
-
Method Details
-
getDarkFeatures
This is vacant (tenant-less) manager. Returning only system-wide features.- Specified by:
getDarkFeaturesin interfaceDarkFeaturesManager- Returns:
- the dark features for all users. Since 9.3, always returns features for all users, not just current user
-
getDarkFeaturesAllUsers
This is vacant (tenant-less) manager. Returning only system-wide features.- Specified by:
getDarkFeaturesAllUsersin interfaceDarkFeaturesManager- Returns:
- the dark features enabled for all users
-
getSiteDarkFeatures
This is vacant (tenant-less) manager. Returning only system-wide features.- Specified by:
getSiteDarkFeaturesin interfaceDarkFeaturesManager- Returns:
- the dark features that are set for the instance
-
getDarkFeatures
This is vacant (tenant-less) manager. Returning only system-wide features.- Specified by:
getDarkFeaturesin interfaceDarkFeaturesManager- Returns:
- the dark features for the given user.
-
enableUserFeature
- Specified by:
enableUserFeaturein interfaceDarkFeaturesManager- Throws:
UnknownFeatureException
-
enableUserFeature
Description copied from interface:DarkFeaturesManagerEnables the specified feature for the specified User- Specified by:
enableUserFeaturein interfaceDarkFeaturesManager
-
disableUserFeature
- Specified by:
disableUserFeaturein interfaceDarkFeaturesManager- Throws:
UnknownFeatureException
-
disableUserFeature
Description copied from interface:DarkFeaturesManagerDisables the specified feature for the specified User- Specified by:
disableUserFeaturein interfaceDarkFeaturesManager
-
enableSiteFeature
- Specified by:
enableSiteFeaturein interfaceDarkFeaturesManager- Throws:
UnknownFeatureException
-
disableSiteFeature
- Specified by:
disableSiteFeaturein interfaceDarkFeaturesManager- Throws:
UnknownFeatureException
-