Class DarkFeatureResource
- java.lang.Object
-
- com.atlassian.bamboo.plugins.rest.admin.darkfeature.DarkFeatureResource
-
@Singleton public class DarkFeatureResource extends Object
Provides RESTful operations to manage dark features.- Since:
- 5.8
-
-
Constructor Summary
Constructors Constructor Description DarkFeatureResource(BambooUserManager bambooUserManager, com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager, DarkFeatureService darkFeatureService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Constructor Detail
-
DarkFeatureResource
@Inject public DarkFeatureResource(BambooUserManager bambooUserManager, com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager, DarkFeatureService darkFeatureService)
-
-
Method Detail
-
get
public RestDarkFeature get(String featureKey)
-
getForUser
public RestDarkFeature getForUser(String featureKey, String userName)
-
getAll
public List<RestDarkFeature> getAll()
-
put
public RestDarkFeature put(String featureKey, RestDarkFeature darkFeaturePropertyBean)
-
put
public RestUserDarkFeature put(String featureKey, String userName, RestDarkFeature darkFeaturePropertyBean)
-
-