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

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

public class CustomFieldPopulator
extends Object
implements BackupOverviewPopulator

Populates ExternalCustomField, BackupOverviewBuilderImpl.ConfigurationContext, and BackupOverviewBuilderImpl.FieldConfigSchemeIssueType objects from the custom field and custom field configuration data in a backup XML file.
This information is used to eventually generate ExternalCustomFieldConfiguration's from the BackupOverviewBuilder.

Since:
v3.13

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

CustomFieldPopulator

public CustomFieldPopulator()
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.