|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IssueLinkTransformer
Used to transform an ExternalLink based on the project import mapper that is provided. This should only be used with a fully mapped and validated ProjectImportMapper. Implementations would normally also use an IssueManager to map any Issue IDs linked to other projects.
Method Summary | |
---|---|
ExternalLink |
transform(ProjectImportMapper projectImportMapper,
ExternalLink issueLink)
Used to transform an ExternalLink based on the project import mapper that is provided. |
Method Detail |
---|
ExternalLink transform(ProjectImportMapper projectImportMapper, ExternalLink issueLink)
At least one of the two issues in the link should belong to the project we are importing.
For issues in our project, we use the Issue Mapper to get the new ID.
For issues in other projects, we look up the Issue in the current system by its key.
If an issue with that key does not exist in the current JIRA, then this method will return null
to
indicate that we will ignore this link (do not import).
This should only be used with a fully mapped and validated ProjectImportMapper.
projectImportMapper
- a fully mapped and validated ProjectImportMapperissueLink
- the ExternalLink that contains all the old values that need to be transformed and other values
that should be stored that need no transformation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |