@ExperimentalSpi public interface

PluggableImportAoEntityHandler

implements AoEntityHandler PluggableImportHandler
com.atlassian.jira.imports.project.ao.handler.PluggableImportAoEntityHandler
Known Indirect Subclasses

Class Overview

Defines a handler class that will be able to perform some operation given an entity name and the entities attributes.

Summary

Fields
public static final Long WEIGHT_NONE
Public Methods
Long getEntityWeight(String entityName)
Return the weight for this entity.
[Expand]
Inherited Methods
From interface com.atlassian.jira.imports.project.ao.handler.AoEntityHandler
From interface com.atlassian.jira.imports.project.handler.PluggableImportHandler

Fields

public static final Long WEIGHT_NONE

Public Methods

public Long getEntityWeight (String entityName)

Return the weight for this entity. If this handler is does not handle the entity or care about it's ordering return WEIGHT_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.