Class PluginVersionParserImpl
java.lang.Object
com.atlassian.jira.imports.project.parser.PluginVersionParserImpl
- All Implemented Interfaces:
PluginVersionParser
- Since:
- v3.13
-
Field Summary
Fields inherited from interface com.atlassian.jira.imports.project.parser.PluginVersionParser
PLUGIN_VERSION_ENTITY_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTransforms a set of attributes into a PluginVersion.
-
Constructor Details
-
PluginVersionParserImpl
public PluginVersionParserImpl()
-
-
Method Details
-
parse
Description copied from interface:PluginVersionParser
Transforms a set of attributes into a PluginVersion.- Specified by:
parse
in interfacePluginVersionParser
- 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.
-