public class IssueLinkParserImpl extends Object implements IssueLinkParser
ISSUE_LINK_ENTITY_NAME
Constructor and Description |
---|
IssueLinkParserImpl() |
Modifier and Type | Method and Description |
---|---|
EntityRepresentation |
getEntityRepresentation(ExternalLink issueLink)
Gets an EntityRepresentation that contains the correct attributes based on the populated fields in the
provided IssueLink.
|
ExternalLink |
parse(Map attributes)
Parses the IssueLink data from the backup XML.
|
public ExternalLink parse(Map attributes) throws ParseException
IssueLinkParser
parse
in interface IssueLinkParser
attributes
- is a map of key value pairs that represent the attributes of an IssueLink.ParseException
- if the required fields are not found in the attributes map.public EntityRepresentation getEntityRepresentation(ExternalLink issueLink)
IssueLinkParser
getEntityRepresentation
in interface IssueLinkParser
issueLink
- contains the populated fields that will end up in the EntityRepresentations map.Copyright © 2002-2022 Atlassian. All Rights Reserved.