|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.imports.project.parser.OSPropertyParser com.atlassian.jira.imports.project.populator.SystemInfoPopulator
public class SystemInfoPopulator
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.
Field Summary |
---|
Fields inherited from class com.atlassian.jira.imports.project.parser.OSPropertyParser |
---|
OSPROPERTY_ENTRY, OSPROPERTY_NUMBER, OSPROPERTY_STRING |
Constructor Summary | |
---|---|
SystemInfoPopulator()
|
Method Summary | |
---|---|
void |
populate(BackupOverviewBuilder backupOverviewBuilder,
java.lang.String elementName,
java.util.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 com.atlassian.jira.imports.project.parser.OSPropertyParser |
---|
getEntityName, getID, getPropertyKey, getValue, isOSPropertyEntry, isOSPropertyString, parseNumberAsBoolean |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SystemInfoPopulator()
Method Detail |
---|
public void populate(BackupOverviewBuilder backupOverviewBuilder, java.lang.String elementName, java.util.Map attributes) throws ParseException
BackupOverviewPopulator
populate
in interface BackupOverviewPopulator
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.
ParseException
- If the attributes for this entity are invalid.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |