Interface PluggableImportAoEntityHandler
- All Superinterfaces:
AoEntityHandler,PluggableImportHandler
- All Known Implementing Classes:
AoPartitionHandler,ReferenceAoImport,ReferenceAoPreImport
@ExperimentalSpi
public interface PluggableImportAoEntityHandler
extends PluggableImportHandler, AoEntityHandler
Defines a handler class that will be able to perform some operation given an entity name and the entities
attributes.
- Since:
- v7.0
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetEntityWeight(String entityName) Return the weight for this entity.Methods inherited from interface com.atlassian.jira.imports.project.ao.handler.AoEntityHandler
endDocument, endTable, handleEntity, handlesEntity, startDocumentMethods inherited from interface com.atlassian.jira.imports.project.handler.PluggableImportHandler
setBackupProject, setBackupSystemInformation, setProjectImportMapper, setProjectImportResults
-
Field Details
-
WEIGHT_NONE
-
-
Method Details
-
getEntityWeight
Return the weight for this entity. If this handler is does not handle the entity or care about it's ordering returnWEIGHT_NONE.This is ignored (not called) during the pre-import stage where the entities are supplied in the backup XML order.
- Returns:
- the weight by which to order this entity when importing.
-