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 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)