com.atlassian.jira.imports.project.populator
Class ProjectComponentPopulator

java.lang.Object
  extended by com.atlassian.jira.imports.project.populator.ProjectComponentPopulator
All Implemented Interfaces:
BackupOverviewPopulator

public class ProjectComponentPopulator
extends Object
implements BackupOverviewPopulator

Populates a BackupOverview with project component information.

Since:
v3.13

Constructor Summary
ProjectComponentPopulator()
           
 
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
 

Constructor Detail

ProjectComponentPopulator

public ProjectComponentPopulator()
Method Detail

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.