Class BackupOverviewImpl
java.lang.Object
com.atlassian.jira.imports.project.core.BackupOverviewImpl
- All Implemented Interfaces:
BackupOverview
,Serializable
- Since:
- v3.13
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBackupOverviewImpl
(BackupSystemInformation backupSystemInformation, List<? extends BackupProject> backupProjects) -
Method Summary
Modifier and TypeMethodDescriptionReturns a BackupSystemInformation object containing system-wide information from the backup file.getProject
(String projectKey) Gets aBackupProject
by the projectKey.Gets all theBackupProject
's contained in the backup ordered alphabetically by the projects name.
-
Constructor Details
-
BackupOverviewImpl
public BackupOverviewImpl(BackupSystemInformation backupSystemInformation, List<? extends BackupProject> backupProjects)
-
-
Method Details
-
getProject
Description copied from interface:BackupOverview
Gets aBackupProject
by the projectKey.- Specified by:
getProject
in interfaceBackupOverview
- Parameters:
projectKey
- the unique key that identifies the project.- Returns:
- a
BackupProject
identified by the key or null if the object does not know about the project key.
-
getProjects
Description copied from interface:BackupOverview
Gets all theBackupProject
's contained in the backup ordered alphabetically by the projects name.- Specified by:
getProjects
in interfaceBackupOverview
- Returns:
- List of
BackupProject
's.
-
getBackupSystemInformation
Description copied from interface:BackupOverview
Returns a BackupSystemInformation object containing system-wide information from the backup file.- Specified by:
getBackupSystemInformation
in interfaceBackupOverview
- Returns:
- a BackupSystemInformation object containing system-wide information from the backup file.
-