public interface

EntityExportMapping

com.atlassian.bitbucket.migration.EntityExportMapping<K>

Class Overview

Provides the ability to map local IDs to instance agnostic logical IDs during an export.

Summary

Public Methods
@Nonnull String getExportId(K id)
Given a local ID, calculate its corresponding export ID.

Public Methods

@Nonnull public String getExportId (K id)

Given a local ID, calculate its corresponding export ID. The IDs generated are only guaranteed to be stable on the same instance, i.e. given an ID '5' on instance A might yield a different value on instance B.

Parameters
id Local ID of the entity on this instance
Returns
  • Export ID of the entity