com.atlassian.jira.imports.project.parser
Class ProjectComponentParserImpl
java.lang.Object
com.atlassian.jira.imports.project.parser.ProjectComponentParserImpl
- All Implemented Interfaces:
- ProjectComponentParser
public class ProjectComponentParserImpl
- extends Object
- implements ProjectComponentParser
- Since:
- v3.13
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProjectComponentParserImpl
public ProjectComponentParserImpl()
parse
public ExternalComponent parse(Map attributes)
throws ParseException
- Description copied from interface:
ProjectComponentParser
- Transforms a set of attributes into an ExternalComponent.
- Specified by:
parse
in interface ProjectComponentParser
- 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.
- Throws:
ParseException
- If the attributes are invalid.
Copyright © 2002-2011 Atlassian. All Rights Reserved.