public class

CustomFieldPopulator

extends Object
implements BackupOverviewPopulator
java.lang.Object
   ↳ com.atlassian.jira.imports.project.populator.CustomFieldPopulator

Class Overview

Populates ExternalCustomField, com.atlassian.jira.imports.project.core.BackupOverviewBuilderImpl.ConfigurationContext, and com.atlassian.jira.imports.project.core.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.

Summary

Public Constructors
CustomFieldPopulator()
Public Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.imports.project.populator.BackupOverviewPopulator

Public Constructors

public CustomFieldPopulator ()

Public Methods

public 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.

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.