java.lang.Object | |
↳ | com.atlassian.jira.web.action.admin.importer.project.ProjectImportBean |
Data object that is stored in the HTTP Session and used in various stages of the Project Import Wizard.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This is the end result of the processing of Step 1.
| |||||||||||
This is the result of mapping and validating the
ProjectImportData . | |||||||||||
This is the saved result of processing Step 2.
| |||||||||||
ProjectImportOptions are the very first thing we collect from the users.
| |||||||||||
This is set once we have performed the actual import.
| |||||||||||
This is a convenience method that looks up the selected project if there is one.
| |||||||||||
This is set as the end result of processing Step 1.
| |||||||||||
This is set as the result of mapping and validating the ProjectImportData and should be set every time we
show the Step 3 (pre-import summary) screen.
| |||||||||||
This is set as the result of moving from Step 2 to Step 3.
| |||||||||||
This should be called from the doExecute of Step 1 when we have collected the backup path to the XML backup
and the attachments.
| |||||||||||
This should be set once the import has completed.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
We want to try to make sure the temporary XML files are deleted, even if the session times out.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
This is the end result of the processing of Step 1. This is used to display the project select information
on the Step 2 screen (project select). This is how you get hold of a BackupProject
which is required to move to the next step in the import.
This is the result of mapping and validating the ProjectImportData
.
This is used to display Step 3 (pre-import summary screen). Everytime the pre-import summary screen is shown
this object will be recalculated.
This is the saved result of processing Step 2. This contains all the registered and required values that are used in the selected project and the paths to the partitioned XML files that contain the projects data.
This object is validated to create a MappingResult
which is used
to display the validation messages on the summary screen.
This object can be used to create many instances of the MappingResult (which may be different if the user has changed the state of the current instance of JIRA).
This object is the NON-CHANGING data from Step 2.
ProjectImportOptions are the very first thing we collect from the users. This holds all the data the the user has input from the screen, from both Step 1 and Step 2 of the import.
This is set once we have performed the actual import. This will let us know if the import was successful or not and how much was created.
This is a convenience method that looks up the selected project if there is one. If the information has not been set this will return null.
This is set as the end result of processing Step 1. Once we have processed the backup XML file we store this result here.
NOTE: if this object exists then the user should be able to resume the import at Step 2.
backupOverview | contains all the project and system information gleaned from the backup XML. |
---|
This is set as the result of mapping and validating the ProjectImportData and should be set every time we show the Step 3 (pre-import summary) screen.
mappingResult | contains the error and warning information that was generated from the mapping and validation |
---|
This is set as the result of moving from Step 2 to Step 3.
projectImportData | the NON-CHANGING data from Step 2. |
---|
This should be called from the doExecute of Step 1 when we have collected the backup path to the XML backup and the attachments.
projectImportOptions | contains the backup path and the attachments path |
---|
This should be set once the import has completed.
projectImportResults | the results of how the import when |
---|
We want to try to make sure the temporary XML files are deleted, even if the session times out.
Throwable |
---|