com.atlassian.bitbucket.migration.EntityImportMapping<K> |
Provides the ability to map generated export IDs to locally created IDs during an import and vice versa.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a mapping between the
exportId and localId . | |||||||||||
Remove all entries from this mapping
| |||||||||||
Given a
localId , return its corresponding exportId . | |||||||||||
Given an
exportId , return its corresponding localId . |
Adds a mapping between the exportId
and localId
.
exportId | The ID that was generated during the export |
---|---|
localId | The local ID for the entity on this instance |
IllegalArgumentException | if either the exportId or the localId have already
been mapped previously, either to the same value or a different value
|
---|
Remove all entries from this mapping
Given a localId
, return its corresponding exportId
.
localId | The local ID for the entity on this instance |
---|
empty()
.
Given an exportId
, return its corresponding localId
.
exportId | The export ID that was generated during the import |
---|
empty()
.