com.atlassian.jira.functest.framework.backdoor
Class DarkFeaturesControl

java.lang.Object
  extended by com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient<T>
      extended by com.atlassian.jira.functest.framework.backdoor.BackdoorControl<DarkFeaturesControl>
          extended by com.atlassian.jira.functest.framework.backdoor.DarkFeaturesControl
All Implemented Interfaces:
FuncTestLogger

public class DarkFeaturesControl
extends BackdoorControl<DarkFeaturesControl>

Use this class from func/selenium/page-object tests that need to manipulate Dark Features.

Since:
v5.0

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient
com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient.Method
 
Field Summary
 
Fields inherited from class com.atlassian.jira.functest.framework.backdoor.BackdoorControl
restPathRootLength
 
Fields inherited from class com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient
REST_VERSION
 
Constructor Summary
DarkFeaturesControl(com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData)
           
 
Method Summary
 void disableForSite(String feature)
           
 void disableForUser(String username, String feature)
           
 void enableForSite(String feature)
           
 void enableForUser(String username, String feature)
           
 
Methods inherited from class com.atlassian.jira.functest.framework.backdoor.BackdoorControl
createResource, get, get, get, getId, log, log, post
 
Methods inherited from class com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient
anonymous, errorResponse, expanded, loginAs, loginAs, percentEncode, resourceRoot, setOf, toResponse, toResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DarkFeaturesControl

public DarkFeaturesControl(com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData)
Method Detail

enableForUser

public void enableForUser(String username,
                          String feature)

disableForUser

public void disableForUser(String username,
                           String feature)

enableForSite

public void enableForSite(String feature)

disableForSite

public void disableForSite(String feature)


Copyright © 2002-2012 Atlassian. All Rights Reserved.