|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.it.rpc.delegates.admin.DarkFeatureRpc
public class DarkFeatureRpc
Interacts with the Dark Feature manager via REST.
Constructor Summary | |
---|---|
DarkFeatureRpc(AuthenticatedWebResourceProvider resourceProvider)
|
Method Summary | |
---|---|
void |
disableSiteFeature(java.lang.String featureKey)
Disables a given dark feature for the entire site. |
void |
disableUserFeature(java.lang.String featureKey)
Disables a given dark feature for the logged in user. |
void |
enableSiteFeature(java.lang.String featureKey)
Deprecated. since 5.6. Use enableSiteFeatures(String...) |
void |
enableSiteFeatures(java.lang.String... featureKeys)
Enables dark features for the entire site. |
void |
enableUserFeature(java.lang.String featureKey)
Deprecated. since 5.6. Use enableUserFeatures(String...) |
void |
enableUserFeatures(java.lang.String... featureKeys)
Enables dark features for the logged in user. |
boolean |
isSiteFeatureEnabled(java.lang.String featureKey)
Checks if a given dark feature is enabled for the entire site. |
boolean |
isUserFeatureEnabled(java.lang.String featureKey)
Checks if a given dark feature is enabled for the logged in user. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DarkFeatureRpc(AuthenticatedWebResourceProvider resourceProvider)
Method Detail |
---|
public void enableUserFeatures(java.lang.String... featureKeys)
featureKeys
- - the keys of the features to enable@Deprecated public void enableUserFeature(java.lang.String featureKey)
enableUserFeatures(String...)
featureKey
- - the key of the feature to enablepublic void disableUserFeature(java.lang.String featureKey)
featureKey
- - the key of the feature to disablepublic boolean isUserFeatureEnabled(java.lang.String featureKey)
featureKey
- - the key of the feature to checkpublic void enableSiteFeatures(java.lang.String... featureKeys)
featureKeys
- - the keys of the features to enable@Deprecated public void enableSiteFeature(java.lang.String featureKey)
enableSiteFeatures(String...)
featureKey
- - the key of the feature to enablepublic void disableSiteFeature(java.lang.String featureKey)
featureKey
- - the key of the feature to disablepublic boolean isSiteFeatureEnabled(java.lang.String featureKey)
featureKey
- - the key of the feature to check
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |