public class BackupSystemInformationImpl extends Object implements BackupSystemInformation
Constructor and Description |
---|
BackupSystemInformationImpl(String buildNumber,
String edition,
List<PluginVersion> pluginVersions,
boolean unassignedIssuesAllowed,
Map<String,String> issueIdToKeyMap,
Set<String> entities,
int entityCount) |
Modifier and Type | Method and Description |
---|---|
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. |
public String getBuildNumber()
BackupSystemInformation
getBuildNumber
in interface BackupSystemInformation
public String getEdition()
BackupSystemInformation
getEdition
in interface BackupSystemInformation
public List<PluginVersion> getPluginVersions()
BackupSystemInformation
PluginVersion
's contained in the backup.getPluginVersions
in interface BackupSystemInformation
PluginVersion
's.public boolean unassignedIssuesAllowed()
BackupSystemInformation
true
if unassigned issues are allowed in the backup file.unassignedIssuesAllowed
in interface BackupSystemInformation
true
if unassigned issues are allowed in the backup file.public String getIssueKeyForId(String issueId)
BackupSystemInformation
getIssueKeyForId
in interface BackupSystemInformation
issueId
- string representation of the issue id long.public int getEntityCount()
BackupSystemInformation
getEntityCount
in interface BackupSystemInformation
public Set<String> getEntityTypes()
BackupSystemInformation
getEntityTypes
in interface BackupSystemInformation
Copyright © 2002-2015 Atlassian. All Rights Reserved.