com.atlassian.jira.imports.project.parser
Class PluginVersionParserImpl
java.lang.Object
com.atlassian.jira.imports.project.parser.PluginVersionParserImpl
- All Implemented Interfaces:
- PluginVersionParser
public class PluginVersionParserImpl
- extends Object
- implements PluginVersionParser
- Since:
- v3.13
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginVersionParserImpl
public PluginVersionParserImpl()
parse
public PluginVersion parse(Map attributes)
throws ParseException
- Description copied from interface:
PluginVersionParser
- Transforms a set of attributes into a PluginVersion.
- Specified by:
parse
in interface PluginVersionParser
- Parameters:
attributes
- is a map of key value pairs that represent the attributes of an PluginVersion. The following
attributes are required, otherwise a ParseException will be thrown:
- id (required)
- name (required)
- key (required)
- version (required)
- Returns:
- a PluginVersion if the attributes contain the required attributes.
- Throws:
ParseException
- If the attributes are invalid.
Copyright © 2002-2014 Atlassian. All Rights Reserved.