public class

ProjectComponentParserImpl

extends Object
implements ProjectComponentParser
java.lang.Object
   ↳ com.atlassian.jira.imports.project.parser.ProjectComponentParserImpl

Summary

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

Public Constructors

public ProjectComponentParserImpl ()

Public Methods

public ExternalComponent parse (Map attributes)

Transforms a set of attributes into an ExternalComponent.

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