public class

ProjectImportSelectProject

extends JiraWebActionSupport
java.lang.Object
   ↳ webwork.action.ActionSupport
     ↳ com.atlassian.jira.action.JiraActionSupport
       ↳ com.atlassian.jira.web.action.JiraWebActionSupport
         ↳ com.atlassian.jira.web.action.admin.importer.project.ProjectImportSelectProject

Class Overview

Action that is used to display the project information contained in the backup XML selected in the ProjectImportSelectBackup action and to submit the selected project to be processed by the importer.

Summary

[Expand]
Inherited Constants
From class com.atlassian.jira.web.action.JiraWebActionSupport
From interface webwork.action.Action
[Expand]
Inherited Fields
From class com.atlassian.jira.web.action.JiraWebActionSupport
From class com.atlassian.jira.action.JiraActionSupport
From class webwork.action.ActionSupport
Public Constructors
ProjectImportSelectProject(ProjectImportService projectImportService, TaskManager taskManager, ProjectManager projectManager)
Public Methods
String doDefault()
String doErrorFromProgress()
Method is used to populate the page with errors that may have been collected from the long running task progress page.
void doValidation()
BackupOverview getBackupOverview()
String getJsonProject(BackupProject project)
String getProjectKey()
boolean isNoBackupOverview()
boolean isOverwrite()
void setOverwrite(boolean overwrite)
void setProjectKey(String projectKey)
Protected Methods
String doExecute()
[Expand]
Inherited Methods
From class com.atlassian.jira.web.action.JiraWebActionSupport
From class com.atlassian.jira.action.JiraActionSupport
From class webwork.action.ActionSupport
From class java.lang.Object
From interface com.atlassian.jira.util.ErrorCollection
From interface com.atlassian.jira.util.I18nHelper
From interface com.atlassian.jira.web.HttpServletVariables
From interface com.atlassian.jira.web.util.AuthorizationSupport
From interface webwork.action.Action
From interface webwork.action.CommandDriven
From interface webwork.action.IllegalArgumentAware

Public Constructors

public ProjectImportSelectProject (ProjectImportService projectImportService, TaskManager taskManager, ProjectManager projectManager)

Public Methods

public String doDefault ()

Throws
Exception

public String doErrorFromProgress ()

Method is used to populate the page with errors that may have been collected from the long running task progress page.

Returns
  • ERROR

public void doValidation ()

public BackupOverview getBackupOverview ()

public String getJsonProject (BackupProject project)

public String getProjectKey ()

public boolean isNoBackupOverview ()

public boolean isOverwrite ()

public void setOverwrite (boolean overwrite)

public void setProjectKey (String projectKey)

Protected Methods

protected String doExecute ()

Throws
Exception