Class TestkitDarkFeatureResource
java.lang.Object
com.atlassian.crowd.plugins.testkit.rest.TestkitDarkFeatureResource
@Component
@Produces("application/json")
@Consumes("application/json")
@Path("/darkfeature")
public class TestkitDarkFeatureResource
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionTestkitDarkFeatureResource(com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager) -
Method Summary
Modifier and TypeMethodDescriptionvoiddisableDarkFeatureForAllUsers(String featureKey) voidenableDarkFeatureForAllUsers(String featureKey) booleanisDarkFeatureEnabledForAllUsers(String featureKey)
-
Constructor Details
-
TestkitDarkFeatureResource
@Inject public TestkitDarkFeatureResource(com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager)
-
-
Method Details
-
enableDarkFeatureForAllUsers
@POST @Path("{featureKey}") public void enableDarkFeatureForAllUsers(@PathParam("featureKey") String featureKey) -
disableDarkFeatureForAllUsers
@DELETE @Path("{featureKey}") public void disableDarkFeatureForAllUsers(@PathParam("featureKey") String featureKey) -
isDarkFeatureEnabledForAllUsers
@GET @Path("{featureKey}") public boolean isDarkFeatureEnabledForAllUsers(@PathParam("featureKey") String featureKey)
-