com.atlassian.jira.imports.project.parser
Class ProjectParserImpl
java.lang.Object
com.atlassian.jira.imports.project.parser.OSPropertyParser
com.atlassian.jira.imports.project.parser.ProjectParserImpl
- All Implemented Interfaces:
- ProjectParser
public class ProjectParserImpl
- extends OSPropertyParser
- implements ProjectParser
- Since:
- v3.13
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProjectParserImpl
public ProjectParserImpl()
parseProject
public ExternalProject parseProject(Map attributes)
throws ParseException
- Description copied from interface:
ProjectParser
- Transforms a set of attributes into an
ExternalProject.
- Specified by:
parseProject in interface ProjectParser
- 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:
- an
ExternalProject the attributes contain id and key, never null.
- Throws:
ParseException - If the attributes are invalid.
parseOther
public void parseOther(String elementName,
Map attributes)
- Description copied from interface:
ProjectParser
- 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.
- Specified by:
parseOther in interface ProjectParser
- Parameters:
elementName - Element Name for this element.attributes - Map of key-value pairs for this element.
Copyright © 2002-2011 Atlassian. All Rights Reserved.