public class

ProjectImportResultsAction

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.ProjectImportResultsAction

Class Overview

Action that manages the final results screen for a project import.

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
ProjectImportResultsAction(ProjectImportWebAnalyticsService projectImportWebAnalyticsService, JiraPageBuilderService jiraPageBuilderService, ProjectImportProgressTrackerUtil projectImportProgressTrackerUtil)
Public Methods
String doDefault()
String doViewNewProject()
This action is when the Results have been shown, and then the user clicks on the "OK" button.
String getAssigneeTypeString(Long assigneeType)
String getFormattedProjectType(ProjectTypeKey projectTypeKey)
String getPrettyImportDuration()
List<Map<StringObject>> getProgressTrackerSteps()
String getProjectEmail(Project project)
ProjectImportResults getProjectImportResults()
Protected Methods
void doValidation()
[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 ProjectImportResultsAction (ProjectImportWebAnalyticsService projectImportWebAnalyticsService, JiraPageBuilderService jiraPageBuilderService, ProjectImportProgressTrackerUtil projectImportProgressTrackerUtil)

Public Methods

public String doDefault ()

Throws
Exception

public String doViewNewProject ()

This action is when the Results have been shown, and then the user clicks on the "OK" button. It will redirect to the View Project page for the new Project.

Returns
  • redirect to the View Project page for the new Project.

public String getAssigneeTypeString (Long assigneeType)

public String getFormattedProjectType (ProjectTypeKey projectTypeKey)

public String getPrettyImportDuration ()

public List<Map<StringObject>> getProgressTrackerSteps ()

public String getProjectEmail (Project project)

Throws
Exception

public ProjectImportResults getProjectImportResults ()

Protected Methods

protected void doValidation ()