public class

ProjectParserImpl

extends OSPropertyParser
implements ProjectParser
java.lang.Object
   ↳ com.atlassian.jira.imports.project.parser.OSPropertyParser
     ↳ com.atlassian.jira.imports.project.parser.ProjectParserImpl

Summary

[Expand]
Inherited Constants
From class com.atlassian.jira.imports.project.parser.OSPropertyParser
From interface com.atlassian.jira.imports.project.parser.ProjectParser
Public Constructors
ProjectParserImpl()
Public Methods
void parseOther(String elementName, Map attributes)
This method parses the Project "Email Sender" properties out of OSProperty.
ExternalProject parseProject(Map attributes)
Transforms a set of attributes into an ExternalProject.
[Expand]
Inherited Methods
From class com.atlassian.jira.imports.project.parser.OSPropertyParser
From class java.lang.Object
From interface com.atlassian.jira.imports.project.parser.ProjectParser

Public Constructors

public ProjectParserImpl ()

Public Methods

public void parseOther (String elementName, Map attributes)

This method parses the Project "Email Sender" properties out of OSProperty. The values are remembered and added to the appropriate ExternalProject during the parseProject() phase.

Parameters
elementName Element Name for this element.
attributes Map of key-value pairs for this element.

public ExternalProject parseProject (Map attributes)

Transforms a set of attributes into an ExternalProject.

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