Class SetupConfluenceDarkFeatureManager
- java.lang.Object
-
- com.atlassian.confluence.api.impl.sal.SetupConfluenceDarkFeatureManager
-
- All Implemented Interfaces:
com.atlassian.sal.api.features.DarkFeatureManager
public class SetupConfluenceDarkFeatureManager extends Object implements com.atlassian.sal.api.features.DarkFeatureManager
-
-
Constructor Summary
Constructors Constructor Description SetupConfluenceDarkFeatureManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanManageFeaturesForAllUsers()voiddisableFeatureForAllUsers(String s)voiddisableFeatureForCurrentUser(String s)voiddisableFeatureForUser(com.atlassian.sal.api.user.UserKey userKey, String s)voidenableFeatureForAllUsers(String s)voidenableFeatureForCurrentUser(String s)voidenableFeatureForUser(com.atlassian.sal.api.user.UserKey userKey, String s)com.atlassian.sal.api.features.EnabledDarkFeaturesgetFeaturesEnabledForAllUsers()com.atlassian.sal.api.features.EnabledDarkFeaturesgetFeaturesEnabledForCurrentUser()com.atlassian.sal.api.features.EnabledDarkFeaturesgetFeaturesEnabledForUser(com.atlassian.sal.api.user.UserKey userKey)@NonNull Optional<Boolean>isEnabledForAllUsers(@NonNull String featureKey)@NonNull Optional<Boolean>isEnabledForCurrentUser(@NonNull String featureKey)@NonNull Optional<Boolean>isEnabledForUser(@Nullable com.atlassian.sal.api.user.UserKey userKey, @NonNull String featureKey)booleanisFeatureEnabledForAllUsers(String s)booleanisFeatureEnabledForCurrentUser(String s)booleanisFeatureEnabledForUser(com.atlassian.sal.api.user.UserKey userKey, String s)
-
-
-
Method Detail
-
isEnabledForAllUsers
public @NonNull Optional<Boolean> isEnabledForAllUsers(@NonNull String featureKey)
- Specified by:
isEnabledForAllUsersin interfacecom.atlassian.sal.api.features.DarkFeatureManager
-
isEnabledForCurrentUser
public @NonNull Optional<Boolean> isEnabledForCurrentUser(@NonNull String featureKey)
- Specified by:
isEnabledForCurrentUserin interfacecom.atlassian.sal.api.features.DarkFeatureManager
-
isEnabledForUser
public @NonNull Optional<Boolean> isEnabledForUser(@Nullable com.atlassian.sal.api.user.UserKey userKey, @NonNull String featureKey)
- Specified by:
isEnabledForUserin interfacecom.atlassian.sal.api.features.DarkFeatureManager
-
isFeatureEnabledForAllUsers
public boolean isFeatureEnabledForAllUsers(String s)
- Specified by:
isFeatureEnabledForAllUsersin interfacecom.atlassian.sal.api.features.DarkFeatureManager
-
isFeatureEnabledForCurrentUser
public boolean isFeatureEnabledForCurrentUser(String s)
- Specified by:
isFeatureEnabledForCurrentUserin interfacecom.atlassian.sal.api.features.DarkFeatureManager
-
isFeatureEnabledForUser
public boolean isFeatureEnabledForUser(com.atlassian.sal.api.user.UserKey userKey, String s)- Specified by:
isFeatureEnabledForUserin interfacecom.atlassian.sal.api.features.DarkFeatureManager
-
canManageFeaturesForAllUsers
public boolean canManageFeaturesForAllUsers()
- Specified by:
canManageFeaturesForAllUsersin interfacecom.atlassian.sal.api.features.DarkFeatureManager
-
enableFeatureForAllUsers
public void enableFeatureForAllUsers(String s)
- Specified by:
enableFeatureForAllUsersin interfacecom.atlassian.sal.api.features.DarkFeatureManager
-
disableFeatureForAllUsers
public void disableFeatureForAllUsers(String s)
- Specified by:
disableFeatureForAllUsersin interfacecom.atlassian.sal.api.features.DarkFeatureManager
-
enableFeatureForCurrentUser
public void enableFeatureForCurrentUser(String s)
- Specified by:
enableFeatureForCurrentUserin interfacecom.atlassian.sal.api.features.DarkFeatureManager
-
enableFeatureForUser
public void enableFeatureForUser(com.atlassian.sal.api.user.UserKey userKey, String s)- Specified by:
enableFeatureForUserin interfacecom.atlassian.sal.api.features.DarkFeatureManager
-
disableFeatureForCurrentUser
public void disableFeatureForCurrentUser(String s)
- Specified by:
disableFeatureForCurrentUserin interfacecom.atlassian.sal.api.features.DarkFeatureManager
-
disableFeatureForUser
public void disableFeatureForUser(com.atlassian.sal.api.user.UserKey userKey, String s)- Specified by:
disableFeatureForUserin interfacecom.atlassian.sal.api.features.DarkFeatureManager
-
getFeaturesEnabledForAllUsers
public com.atlassian.sal.api.features.EnabledDarkFeatures getFeaturesEnabledForAllUsers()
- Specified by:
getFeaturesEnabledForAllUsersin interfacecom.atlassian.sal.api.features.DarkFeatureManager
-
getFeaturesEnabledForCurrentUser
public com.atlassian.sal.api.features.EnabledDarkFeatures getFeaturesEnabledForCurrentUser()
- Specified by:
getFeaturesEnabledForCurrentUserin interfacecom.atlassian.sal.api.features.DarkFeatureManager
-
getFeaturesEnabledForUser
public com.atlassian.sal.api.features.EnabledDarkFeatures getFeaturesEnabledForUser(com.atlassian.sal.api.user.UserKey userKey)
- Specified by:
getFeaturesEnabledForUserin interfacecom.atlassian.sal.api.features.DarkFeatureManager
-
-