Interface ProjectVersionParser

All Known Implementing Classes:
ProjectVersionParserImpl

public interface ProjectVersionParser
Converts project version xml in a JIRA backup to an object representation.
Since:
v3.13
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Entity name for Version
  • Method Summary

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

  • Method Details

    • parse

      ExternalVersion parse(Map attributes) throws ParseException
      Transforms a set of attributes into an ExternalVersion.
      Parameters:
      attributes - is a map of key value pairs that represent the attributes of an ExternalVersion. The following attributes are required, otherwise a ParseException will be thrown:
      • id (required)
      • project (required)
      • name (required)
      • sequence (optional)
      Returns:
      an ExternalVersion the attributes contain id and key.
      Throws:
      ParseException - If the attributes are invalid.