Class Overview
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)
- useDefaultPaths - Whether default paths in JIRA home should be used for indexing & attachments (true 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.
Summary
Nested Classes |
class |
DataImportParams.Builder |
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Methods
public
String
getLicenseString
()
public
File
getUnsafeAOBackup
()
public
File
getUnsafeJiraBackup
()
public
boolean
isAllowDowngrade
()
public
boolean
isNoLicenseCheck
()
public
boolean
isQuickImport
()
public
boolean
isSetup
()
public
boolean
isStartupDataOnly
()
public
boolean
isUseDefaultPaths
()
public
boolean
outgoingMail
()
public
boolean
shouldChangeOutgoingMail
()