com.atlassian.jira.dev.backdoor
Class JiraSetupResource
java.lang.Object
com.atlassian.jira.dev.backdoor.JiraSetupResource
public class JiraSetupResource
- extends Object
Resource for setting up and restoring data in func tests.
- Since:
- 4.4
Method Summary |
javax.ws.rs.core.Response |
doImport(String filePath,
boolean quickImport,
javax.servlet.http.HttpServletRequest request)
|
javax.ws.rs.core.Response |
importResult()
|
javax.ws.rs.core.Response |
initialSetup(String requestBody)
|
boolean |
isSetup()
|
javax.ws.rs.core.Response |
resetSetup(javax.servlet.http.HttpServletRequest request)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JiraSetupResource
public JiraSetupResource(ApplicationProperties applicationProperties,
IndexPathManager indexPathManager,
IssueIndexManager issueIndexManager,
AttachmentPathManager attachmentPathManager,
UserService userService,
VelocityRequestContextFactory velocityRequestContextFactory,
com.atlassian.crowd.embedded.api.CrowdService crowdService,
com.atlassian.sal.api.lifecycle.LifecycleManager lifecycleManager)
initialSetup
public javax.ws.rs.core.Response initialSetup(String requestBody)
resetSetup
public javax.ws.rs.core.Response resetSetup(@Context
javax.servlet.http.HttpServletRequest request)
doImport
public javax.ws.rs.core.Response doImport(String filePath,
boolean quickImport,
@Context
javax.servlet.http.HttpServletRequest request)
importResult
public javax.ws.rs.core.Response importResult()
isSetup
public boolean isSetup()
Copyright © 2002-2012 Atlassian. All Rights Reserved.