com.atlassian.jira.imports.project.parser
Class PluginVersionParserImpl

java.lang.Object
  extended by com.atlassian.jira.imports.project.parser.PluginVersionParserImpl
All Implemented Interfaces:
PluginVersionParser

public class PluginVersionParserImpl
extends Object
implements PluginVersionParser

Since:
v3.13

Field Summary
 
Fields inherited from interface com.atlassian.jira.imports.project.parser.PluginVersionParser
PLUGIN_VERSION_ENTITY_NAME
 
Constructor Summary
PluginVersionParserImpl()
           
 
Method Summary
 PluginVersion parse(Map attributes)
          Transforms a set of attributes into a PluginVersion.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginVersionParserImpl

public PluginVersionParserImpl()
Method Detail

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.