Package com.atlassian.jira.bc.dataimport
Class DataImportParams
java.lang.Object
com.atlassian.jira.bc.dataimport.DataImportParams
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
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
isSetup()
boolean
boolean
boolean
-
Method Details
-
getFilename
-
getLicenseString
-
isQuickImport
public boolean isQuickImport() -
isAllowDowngrade
public boolean isAllowDowngrade() -
isSetup
public boolean isSetup() -
getUnsafeJiraBackup
-
getUnsafeAOBackup
-
outgoingMail
public boolean outgoingMail() -
shouldChangeOutgoingMail
public boolean shouldChangeOutgoingMail() -
isNoLicenseCheck
public boolean isNoLicenseCheck() -
isStartupDataOnly
public boolean isStartupDataOnly()
-