java.lang.Object | ||
↳ | com.atlassian.jira.imports.project.handler.AbstractPersisterHandler | |
↳ | com.atlassian.jira.imports.project.handler.IssuePersisterHandler |
Used to inspect issue entries in a backup file, transform the entities and persist them to the database.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Provides the implementation an opportunity to perform some action when the document is finished being read.
| |||||||||||
While running through all the issues this handler keeps track of what the largest issue key number it has
encountered.
| |||||||||||
Will read the issue, transform it, save it, and keep the new mapped value.
| |||||||||||
Provides the implementation an opportunity to perform some action when the document is starting to
be read.
|
[Expand]
Inherited Methods | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||||||
![]() | |||||||||||||||||
![]()
|
Provides the implementation an opportunity to perform some action when the document is finished being read.
While running through all the issues this handler keeps track of what the largest issue key number it has encountered. This will return the largest seen number at the time it is called or 0 if it imported nothing.
The issue key number is the numeric part of the key after the '-' of an issue key (e.g. TST-7, 7 is the issue key number).Will read the issue, transform it, save it, and keep the new mapped value. It also keeps track of the highest seen issue key number.
entityName | the entity that is being processed |
---|---|
attributes | the map containing all the attributes |
ParseException | if something goes wrong interpreting the attributes into an objec |
---|---|
AbortImportException |
Provides the implementation an opportunity to perform some action when the document is starting to be read.