java.lang.Object | |
↳ | com.atlassian.jira.bean.export.AutoExportImpl |
Determines the best possible location (if any) and export all JIRA data to the chosen location using any provided filename generation strategy.
[Expand]
Inherited Constants | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates an AutoExport that uses the given defaultDir and a datestamp
filename generator.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Attempts to choose the best location for export and exports the existing data
This method tries to export to backup path, then to index path and the to the value
of the "javax.servlet.context.tempdir" property of the passed in ServletContext
| |||||||||||
Tries the JIRA backup path, the configured JIRA index path and the servlet
temp directory as candidate export file paths before failing.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||||
![]()
|
Creates an AutoExport that uses the given defaultDir and a datestamp filename generator.
Attempts to choose the best location for export and exports the existing data This method tries to export to backup path, then to index path and the to the value of the "javax.servlet.context.tempdir" property of the passed in ServletContext
Tries the JIRA backup path, the configured JIRA index path and the servlet temp directory as candidate export file paths before failing.
FileNotFoundException | if configuration of each option is a missing dir. |
---|---|
FileExistsException | if there is a file in the way of the generated path. |
IOException | if there is a filesystem problem in determining the best path. |