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

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

public class DataImportControl
extends BackdoorControl<DataImportControl>

Use this class from func/selenium/page-object tests that need to import data. Which is all of them. See DataImportBackdoor for the code this plugs into at the back-end.

Since:
v5.0

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient
RestApiClient.Method
 
Field Summary
static String FS
           
 
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
DataImportControl(JIRAEnvironmentData environmentData)
           
 
Method Summary
 void restoreBlankInstance()
          Restores the instance with the default XML file.
 void restoreData(String xmlFileName)
          Restores the instance with the specified XML file.
 
Methods inherited from class com.atlassian.jira.functest.framework.backdoor.BackdoorControl
createResource, delete, 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
 

Field Detail

FS

public static final String FS
Constructor Detail

DataImportControl

public DataImportControl(JIRAEnvironmentData environmentData)
Method Detail

restoreBlankInstance

public void restoreBlankInstance()
Restores the instance with the default XML file. A commercial license is used.


restoreData

public void restoreData(String xmlFileName)
Restores the instance with the specified XML file. A commercial license is used.

Parameters:
xmlFileName - the name of the file to import


Copyright © 2002-2012 Atlassian. All Rights Reserved.