public class SiteDarkFeaturesClientExt
extends com.atlassian.jira.testkit.client.restclient.SiteDarkFeaturesClient
Constructor and Description |
---|
SiteDarkFeaturesClientExt(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData)
Constructs a new SiteDarkFeaturesClientExt for a JIRA instance.
|
Modifier and Type | Method and Description |
---|---|
DarkFeatures |
post(Map<String,com.atlassian.jira.testkit.client.restclient.DarkFeature> featuresMap)
Enables or disables a set of dark features.
|
com.atlassian.jira.testkit.client.restclient.Response<?> |
postResponse(Map<String,Boolean> featuresMap)
Enables or disables a set of dark features and returns the response object.
|
get, getResponse, put, putResponse, siteDarkFeatures, siteDarkFeaturesWithKey
anonymous, cleanUp, client, createResource, createResourceGadget, createResourceInternal, errorResponse, expanded, getEnvironmentData, loginAs, loginAs, percentEncode, registerResponse, resourceRoot, setOf, toResponse, toResponse, toResponse
public SiteDarkFeaturesClientExt(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData)
environmentData
- The JIRA environment datapublic DarkFeatures post(Map<String,com.atlassian.jira.testkit.client.restclient.DarkFeature> featuresMap)
featuresMap
- a Map of dark feature name to enabled stateCopyright © 2002-2021 Atlassian. All Rights Reserved.