Class TestkitDarkFeatureResource
java.lang.Object
com.atlassian.crowd.plugins.testkit.rest.TestkitDarkFeatureResource
@Named
@Produces("application/json")
@Consumes("application/json")
@Path("/darkfeature")
public class TestkitDarkFeatureResource
extends Object
-
Constructor Summary
ConstructorDescriptionTestkitDarkFeatureResource
(com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
disableDarkFeatureForAllUsers
(String featureKey) void
enableDarkFeatureForAllUsers
(String featureKey) boolean
isDarkFeatureEnabledForAllUsers
(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)
-