public class

BackupSystemInformationImpl

extends Object
implements BackupSystemInformation
java.lang.Object
   ↳ com.atlassian.jira.imports.project.core.BackupSystemInformationImpl

Summary

Public Constructors
BackupSystemInformationImpl(String buildNumber, String edition, List<PluginVersion> pluginVersions, boolean unassignedIssuesAllowed, Map<StringString> issueIdToKeyMap, Set<String> entities, int entityCount)
Public Methods
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.
Set<String> getEntityTypes()
Returns the types of entities represented 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<PluginVersion> getPluginVersions()
Gets all the PluginVersion's contained in the backup.
String toString()
boolean unassignedIssuesAllowed()
Returns true if unassigned issues are allowed in the backup file.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.imports.project.core.BackupSystemInformation

Public Constructors

public BackupSystemInformationImpl (String buildNumber, String edition, List<PluginVersion> pluginVersions, boolean unassignedIssuesAllowed, Map<StringString> issueIdToKeyMap, Set<String> entities, int entityCount)

Public Methods

public 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.

public String getEdition ()

Returns the JIRA edition the backup came from.

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

public int getEntityCount ()

Returns the number of entities in the backup file.

Returns
  • the number of entities in the backup file.

public Set<String> getEntityTypes ()

Returns the types of entities represented in the backup file.

Returns
  • the types of entities represented in the backup file.

public 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.

public List<PluginVersion> getPluginVersions ()

Gets all the PluginVersion's contained in the backup.

Returns

public String toString ()

public boolean unassignedIssuesAllowed ()

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

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