Class CommentPopulator
java.lang.Object
com.atlassian.jira.imports.project.populator.CommentPopulator
- All Implemented Interfaces:
BackupOverviewPopulator
Populates the comments length in the BackupOverview object
- Since:
- v7.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpopulate(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.
-
Constructor Details
-
CommentPopulator
public CommentPopulator()
-
-
Method Details
-
populate
public void populate(BackupOverviewBuilder backupOverviewBuilder, String elementName, Map attributes) throws ParseException Description copied from interface:BackupOverviewPopulatorIf 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:
populatein interfaceBackupOverviewPopulator- 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.
-