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
  • Constructor Details

    • PluginVersionParserImpl

      public PluginVersionParserImpl()
  • Method Details

    • 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.