com.atlassian.jira.imports.project.populator
Class SystemInfoPopulator
java.lang.Object
com.atlassian.jira.imports.project.parser.OSPropertyParser
com.atlassian.jira.imports.project.populator.SystemInfoPopulator
- All Implemented Interfaces:
- BackupOverviewPopulator
public class SystemInfoPopulator
- extends OSPropertyParser
- implements BackupOverviewPopulator
This BackupOverviewPopulator reads System Info from OSProperty values and adds it to the BackupOverviewBuilder.
Namely, it adds the Build Number and the Edition.
Utilizes the fact that OSPropertyEntry will always be processed before OSPropertyString so that we can find the build number.
- Since:
- v3.13
Method Summary |
void |
populate(BackupOverviewBuilder backupOverviewBuilder,
String elementName,
Map attributes)
If the entity referred to in the given elementName is managed by this Populator, then it builds the appropriate
object and adds it to the BackupOverviewBuilder. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemInfoPopulator
public SystemInfoPopulator()
populate
public void populate(BackupOverviewBuilder backupOverviewBuilder,
String elementName,
Map attributes)
throws ParseException
- Description copied from interface:
BackupOverviewPopulator
- If the entity referred to in the given elementName is managed by this Populator, then it builds the appropriate
object and adds it to the BackupOverviewBuilder.
- Specified by:
populate
in interface BackupOverviewPopulator
- Parameters:
backupOverviewBuilder
- Collects overview information from the import file.elementName
- The name of the entity element in the backup XML.attributes
- The attributes from the backup XML for this entity.
- Throws:
ParseException
- If the attributes for this entity are invalid.
Copyright © 2002-2013 Atlassian. All Rights Reserved.