com.atlassian.jira.imports.project.parser
Class IssueLinkParserImpl
java.lang.Object
com.atlassian.jira.imports.project.parser.IssueLinkParserImpl
- All Implemented Interfaces:
- IssueLinkParser
public class IssueLinkParserImpl
- extends Object
- implements IssueLinkParser
- Since:
- v3.13
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IssueLinkParserImpl
public IssueLinkParserImpl()
parse
public ExternalLink parse(Map attributes)
throws ParseException
- Description copied from interface:
IssueLinkParser
- Parses the IssueLink data from the backup XML.
- Specified by:
parse
in interface IssueLinkParser
- Parameters:
attributes
- is a map of key value pairs that represent the attributes of an IssueLink.
- Returns:
- an ExternalLink if the attributes contain the required fields.
- Throws:
ParseException
- if the required fields are not found in the attributes map.
getEntityRepresentation
public EntityRepresentation getEntityRepresentation(ExternalLink issueLink)
- Description copied from interface:
IssueLinkParser
- Gets an EntityRepresentation that contains the correct attributes based on the populated fields in the
provided IssueLink.
- Specified by:
getEntityRepresentation
in interface IssueLinkParser
- Parameters:
issueLink
- contains the populated fields that will end up in the EntityRepresentations map.
- Returns:
- an EntityRepresentation that can be persisted using OfBiz.
Copyright © 2002-2013 Atlassian. All Rights Reserved.