Class DataImportParams

java.lang.Object
com.atlassian.jira.bc.dataimport.DataImportParams

public final class DataImportParams extends Object
Provides all the parameters required to perform a data import in JIRA. Specifically this includes: Required
  • filename - Path of the file to be imported. Only compulsory if unsafeJiraBackup has not be specified.
  • unsafeJiraBackup - Path of the file to be imported. Only compulsory if filename has not be specified. JIRA will use the file for import no matter where it is located (i.e. it does not need to be JIRA_HOME).

Optional

  • licenseString - A license string to override the license from the XML data file
  • quickImport - If this is set to true the plugins system will *not* be restarted. (false by default)
  • isSetup - true if this import is being performed during JIRA's setup (false by default)
  • disableOutgoingEmail - true if outgoing email should be disabled after importing the xml data file.
  • unsafeAOBackup - the path to the AO backup. JIRA will use the file for import no matter where it is located (i.e. it does not need to be JIRA_HOME).

Clients should use the provided DataImportParams.Builder to construct an instance of this class.

Since:
v4.4
  • Method Details

    • getFilename

      public String getFilename()
    • getLicenseString

      public String getLicenseString()
    • isQuickImport

      public boolean isQuickImport()
    • isAllowDowngrade

      public boolean isAllowDowngrade()
    • isSetup

      public boolean isSetup()
    • getUnsafeJiraBackup

      public File getUnsafeJiraBackup()
    • getUnsafeAOBackup

      public File getUnsafeAOBackup()
    • outgoingMail

      public boolean outgoingMail()
    • shouldChangeOutgoingMail

      public boolean shouldChangeOutgoingMail()
    • isNoLicenseCheck

      public boolean isNoLicenseCheck()
    • isStartupDataOnly

      public boolean isStartupDataOnly()