public class SiteDarkFeaturesResource extends Object
Constructor and Description |
---|
SiteDarkFeaturesResource(FeatureManager featureManager) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
get(String featureKey)
Gets whether dark feature is enabled or disabled.
|
javax.ws.rs.core.Response |
put(String featureKey,
DarkFeaturePropertyBean darkFeaturePropertyBean)
Enable or disable a dark feature via PUT.
|
DarkFeaturesBean |
putSiteDarkFeatures(Map<String,DarkFeaturePropertyBean> updates)
Updates the value for a set of dark features.
|
public SiteDarkFeaturesResource(FeatureManager featureManager)
public javax.ws.rs.core.Response get(String featureKey)
public javax.ws.rs.core.Response put(String featureKey, DarkFeaturePropertyBean darkFeaturePropertyBean)
public DarkFeaturesBean putSiteDarkFeatures(Map<String,DarkFeaturePropertyBean> updates)
updates
- a map of feature names to enabled state (enabled/disabled)Copyright © 2002-2021 Atlassian. All Rights Reserved.