@Singleton public class DarkFeatureResource extends Object
Constructor and Description |
---|
DarkFeatureResource(BambooUserManager bambooUserManager,
com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager,
DarkFeatureService darkFeatureService) |
Modifier and Type | Method and Description |
---|---|
RestDarkFeature |
get(String featureKey) |
List<RestDarkFeature> |
getAll() |
RestDarkFeature |
getForUser(String featureKey,
String userName) |
RestDarkFeature |
put(String featureKey,
RestDarkFeature darkFeaturePropertyBean) |
RestUserDarkFeature |
put(String featureKey,
String userName,
RestDarkFeature darkFeaturePropertyBean) |
@Inject public DarkFeatureResource(BambooUserManager bambooUserManager, com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager, DarkFeatureService darkFeatureService)
public RestDarkFeature get(String featureKey)
public RestDarkFeature getForUser(String featureKey, String userName)
public List<RestDarkFeature> getAll()
public RestDarkFeature put(String featureKey, RestDarkFeature darkFeaturePropertyBean)
public RestUserDarkFeature put(String featureKey, String userName, RestDarkFeature darkFeaturePropertyBean)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.