com.atlassian.jira.imports.project.core
Class BackupOverviewImpl
java.lang.Object
com.atlassian.jira.imports.project.core.BackupOverviewImpl
- All Implemented Interfaces:
- BackupOverview
public class BackupOverviewImpl
- extends Object
- implements BackupOverview
- Since:
- v3.13
BackupOverviewImpl
public BackupOverviewImpl(BackupSystemInformation backupSystemInformation,
List backupProjects)
getProject
public BackupProject getProject(String projectKey)
- Description copied from interface:
BackupOverview
- Gets a
BackupProject
by the projectKey.
- Specified by:
getProject
in interface BackupOverview
- 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
public List getProjects()
- Description copied from interface:
BackupOverview
- Gets all the
BackupProject
's contained in the backup ordered
alphabetically by the projects name.
- Specified by:
getProjects
in interface BackupOverview
- Returns:
- List of
BackupProject
's.
getBackupSystemInformation
public BackupSystemInformation getBackupSystemInformation()
- Description copied from interface:
BackupOverview
- Returns a BackupSystemInformation object containing system-wide information from the backup file.
- Specified by:
getBackupSystemInformation
in interface BackupOverview
- Returns:
- a BackupSystemInformation object containing system-wide information from the backup file.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2013 Atlassian. All Rights Reserved.