Interface BackupSystemInformation
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
BackupSystemInformationImpl
An object containing system-wide information from the backup file.
- Since:
- v3.13
-
Method Summary
Modifier and TypeMethodDescriptionReturns the JIRA build number the backup came from.Returns the JIRA edition the backup came from.intReturns the number of entities in the backup file.Returns the types of entities represented in the backup file.getIssueKeyForId(String issueId) Will get the issue key provided the issue id for any issue that existed in the backup file.Gets all thePluginVersion's contained in the backup.booleanReturnstrueif unassigned issues are allowed in the backup file.
-
Method Details
-
getPluginVersions
List<PluginVersion> getPluginVersions()Gets all thePluginVersion'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()Returnstrueif unassigned issues are allowed in the backup file.- Returns:
trueif unassigned issues are allowed in the backup file.
-
getIssueKeyForId
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.
-
getEntityTypes
Returns the types of entities represented in the backup file.- Returns:
- the types of entities represented in the backup file.
-