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

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

public class ProjectPopulator
extends Object
implements BackupOverviewPopulator

Converts the project information and sets it into BackupOverview.

Since:
v3.13

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

ProjectPopulator

public ProjectPopulator()
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-2009 Atlassian. All Rights Reserved.