com.atlassian.jira.imports.project.populator
Interface BackupOverviewPopulator

All Known Implementing Classes:
CustomFieldPopulator, IssueIdPopulator, PluginVersionPopulator, ProjectComponentPopulator, ProjectPopulator, ProjectVersionPopulator, SystemInfoPopulator

public interface BackupOverviewPopulator

Used to populate the BackupOverview object. Bridges element parsers and the information object. Each populator is in charge of one particular entity type.

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.
 

Method Detail

populate

void populate(BackupOverviewBuilder backupOverviewBuilder,
              String elementName,
              Map attributes)
              throws ParseException
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.

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-2008 Atlassian. All Rights Reserved.