Class ProjectImportSelectBackup

java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.admin.importer.project.ProjectImportSelectBackup
All Implemented Interfaces:
ErrorCollection, I18nHelper, HttpServletVariables, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class ProjectImportSelectBackup extends JiraWebActionSupport
Action that controls the first step of the project import wizard.
Since:
v3.13
See Also:
  • Constructor Details

  • Method Details

    • doDefault

      public String doDefault() throws Exception
      Overrides:
      doDefault in class webwork.action.ActionSupport
      Throws:
      Exception
    • doCancel

      public String doCancel() throws Exception
      Throws:
      Exception
    • doValidation

      public void doValidation()
      Overrides:
      doValidation in class webwork.action.ActionSupport
    • doExecute

      protected String doExecute() throws Exception
      Overrides:
      doExecute in class webwork.action.ActionSupport
      Throws:
      Exception
    • doErrorFromProgress

      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
    • getBackupPath

      public String getBackupPath()
    • setBackupPath

      public void setBackupPath(String backupPath)
    • getDefaultImportPath

      public String getDefaultImportPath()
      Returns the absolution path for the Default Import directory ([jira-home/import]).
      Returns:
      the absolute path for the Default Import directory ([jira-home/import])
    • getDefaultImportAttachmentsPath

      public String getDefaultImportAttachmentsPath()
      Returns the absolution path for the Default Import Attachments directory ([jira-home/import/attachments]) if attachments are enabled
      Returns:
      the absolute path for the Default Import Attachments directory ([jira-home/import/attachments]) or null if attachments are not enabled
    • isShowResumeLinkStep2

      public boolean isShowResumeLinkStep2()
      Returns true if the user has an active Project Import that has not completed. This means we show a link on this page to let the user resume that import.
      Returns:
      true if the user has an active Project Import that has not completed.
    • isShowResumeLinkStep3

      public boolean isShowResumeLinkStep3()
    • getSelectedProjectName

      public String getSelectedProjectName()
    • getDocsLink

      public String getDocsLink()
    • getProgressTrackerSteps

      public List<Map<String,Object>> getProgressTrackerSteps()
    • getVersion

      public String getVersion()