com.atlassian.jira.imports.project.core
Interface BackupSystemInformation

All Known Implementing Classes:
BackupSystemInformationImpl

public interface BackupSystemInformation

An object containing system-wide information from the backup file.

Since:
v3.13

Method Summary
 String getBuildNumber()
          Returns the JIRA build number the backup came from.
 String getEdition()
          Returns the JIRA edition the backup came from.
 int getEntityCount()
          Returns the number of entities in the backup file.
 String getIssueKeyForId(String issueId)
          Will get the issue key provided the issue id for any issue that existed in the backup file.
 List getPluginVersions()
          Gets all the PluginVersion's contained in the backup.
 boolean unassignedIssuesAllowed()
          Returns true if unassigned issues are allowed in the backup file.
 

Method Detail

getPluginVersions

List getPluginVersions()
Gets all the PluginVersion's contained in the backup.

Returns:
List of PluginVersion's.

getBuildNumber

String getBuildNumber()
Returns the JIRA build number the backup came from.

Returns:
string representing the JIRA build number. It is safe to construct a number object with this string.

getEdition

String getEdition()
Returns the JIRA edition the backup came from.

Returns:
string representing the JIRA edition, 'Enterprise', 'Professional', or 'Standard'

unassignedIssuesAllowed

boolean unassignedIssuesAllowed()
Returns true if unassigned issues are allowed in the backup file.

Returns:
true if unassigned issues are allowed in the backup file.

getIssueKeyForId

String getIssueKeyForId(String issueId)
Will get the issue key provided the issue id for any issue that existed in the backup file.

Parameters:
issueId - string representation of the issue id long.
Returns:
the issue key (i.e. TST-12) if the issue with the provided id existed in the backup file, null otherwise.

getEntityCount

int getEntityCount()
Returns the number of entities in the backup file.

Returns:
the number of entities in the backup file.


Copyright © 2002-2009 Atlassian. All Rights Reserved.