Interface PluginVersionParser

All Known Implementing Classes:
PluginVersionParserImpl

public interface PluginVersionParser
Converts plugin version information from the backup XML to an object representation.
Since:
v3.13
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    parse(Map attributes)
    Transforms a set of attributes into a PluginVersion.
  • Field Details

  • Method Details

    • parse

      PluginVersion parse(Map attributes) throws ParseException
      Transforms a set of attributes into a PluginVersion.
      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.