com.atlassian.jira.imports.project.core
Class BackupOverviewImpl

java.lang.Object
  extended by com.atlassian.jira.imports.project.core.BackupOverviewImpl
All Implemented Interfaces:
BackupOverview

public class BackupOverviewImpl
extends Object
implements BackupOverview

Since:
v3.13

Constructor Summary
BackupOverviewImpl(BackupSystemInformation backupSystemInformation, List backupProjects)
           
 
Method Summary
 BackupSystemInformation getBackupSystemInformation()
          Returns a BackupSystemInformation object containing system-wide information from the backup file.
 BackupProject getProject(String projectKey)
          Gets a BackupProject by the projectKey.
 List getProjects()
          Gets all the BackupProject's contained in the backup ordered alphabetically by the projects name.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BackupOverviewImpl

public BackupOverviewImpl(BackupSystemInformation backupSystemInformation,
                          List backupProjects)
Method Detail

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-2008 Atlassian. All Rights Reserved.