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