@Named @Produces(value="application/json") @Consumes(value="application/json") @Path(value="/darkfeature") public class TestkitDarkFeatureResource extends Object
| Constructor and Description |
|---|
TestkitDarkFeatureResource(com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
disableDarkFeatureForAllUsers(String featureKey) |
void |
enableDarkFeatureForAllUsers(String featureKey) |
boolean |
isDarkFeatureEnabledForAllUsers(String featureKey) |
@Inject public TestkitDarkFeatureResource(com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager)
@POST
@Path(value="{featureKey}")
public void enableDarkFeatureForAllUsers(@PathParam(value="featureKey")
String featureKey)
@DELETE
@Path(value="{featureKey}")
public void disableDarkFeatureForAllUsers(@PathParam(value="featureKey")
String featureKey)
@GET
@Path(value="{featureKey}")
public boolean isDarkFeatureEnabledForAllUsers(@PathParam(value="featureKey")
String featureKey)
Copyright © 2023 Atlassian. All rights reserved.