Class BackupSystemInformationImpl
java.lang.Object
com.atlassian.jira.imports.project.core.BackupSystemInformationImpl
- All Implemented Interfaces:
BackupSystemInformation,Serializable
- Since:
- v3.13
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBackupSystemInformationImpl(String buildNumber, String edition, List<PluginVersion> pluginVersions, boolean unassignedIssuesAllowed, Map<String, String> issueIdToKeyMap, Set<String> entities, int entityCount) -
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.toString()booleanReturnstrueif unassigned issues are allowed in the backup file.
-
Constructor Details
-
BackupSystemInformationImpl
-
-
Method Details
-
getBuildNumber
Description copied from interface:BackupSystemInformationReturns the JIRA build number the backup came from.- Specified by:
getBuildNumberin interfaceBackupSystemInformation- Returns:
- string representing the JIRA build number. It is safe to construct a number object with this string.
-
getEdition
Description copied from interface:BackupSystemInformationReturns the JIRA edition the backup came from.- Specified by:
getEditionin interfaceBackupSystemInformation- Returns:
- string representing the JIRA edition, 'Enterprise', 'Professional', or 'Standard'
-
getPluginVersions
Description copied from interface:BackupSystemInformationGets all thePluginVersion's contained in the backup.- Specified by:
getPluginVersionsin interfaceBackupSystemInformation- Returns:
- List of
PluginVersion's.
-
unassignedIssuesAllowed
public boolean unassignedIssuesAllowed()Description copied from interface:BackupSystemInformationReturnstrueif unassigned issues are allowed in the backup file.- Specified by:
unassignedIssuesAllowedin interfaceBackupSystemInformation- Returns:
trueif unassigned issues are allowed in the backup file.
-
getIssueKeyForId
Description copied from interface:BackupSystemInformationWill get the issue key provided the issue id for any issue that existed in the backup file.- Specified by:
getIssueKeyForIdin interfaceBackupSystemInformation- 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
public int getEntityCount()Description copied from interface:BackupSystemInformationReturns the number of entities in the backup file.- Specified by:
getEntityCountin interfaceBackupSystemInformation- Returns:
- the number of entities in the backup file.
-
getEntityTypes
Description copied from interface:BackupSystemInformationReturns the types of entities represented in the backup file.- Specified by:
getEntityTypesin interfaceBackupSystemInformation- Returns:
- the types of entities represented in the backup file.
-
toString
-