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
 java.lang.String getBuildNumber()
          Returns the JIRA build number the backup came from.
 java.lang.String getEdition()
          Returns the JIRA edition the backup came from.
 int getEntityCount()
          Returns the number of entities in the backup file.
 java.lang.String getIssueKeyForId(java.lang.String issueId)
          Will get the issue key provided the issue id for any issue that existed in the backup file.
 java.util.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

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

Returns:
List of PluginVersion's.

getBuildNumber

java.lang.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

java.lang.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

java.lang.String getIssueKeyForId(java.lang.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-2010 Atlassian. All Rights Reserved.