public class

ProjectVersionParserImpl

extends Object
implements ProjectVersionParser
java.lang.Object
   ↳ com.atlassian.jira.imports.project.parser.ProjectVersionParserImpl

Summary

[Expand]
Inherited Constants
From interface com.atlassian.jira.imports.project.parser.ProjectVersionParser
Public Constructors
ProjectVersionParserImpl()
Public Methods
ExternalVersion parse(Map attributes)
Transforms a set of attributes into an ExternalVersion.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.imports.project.parser.ProjectVersionParser

Public Constructors

public ProjectVersionParserImpl ()

Public Methods

public ExternalVersion parse (Map attributes)

Transforms a set of attributes into an ExternalVersion.

Parameters
attributes is a map of key value pairs that represent the attributes of an ExternalVersion. The following attributes are required, otherwise a ParseException will be thrown:
  • id (required)
  • project (required)
  • name (required)
  • sequence (optional)
Returns
  • an ExternalVersion the attributes contain id and key.