Interface ProjectComponentParser

All Known Implementing Classes:
ProjectComponentParserImpl

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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Name of the Component Entity
  • Method Summary

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

  • Method Details

    • parse

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