Interface GroupParser

All Known Implementing Classes:
GroupParserImpl

public interface GroupParser
Converts OSGroup xml in a JIRA backup 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)
    Parses the OSGroup data from the backup XML.
  • Field Details

  • Method Details

    • parse

      ExternalGroup parse(Map attributes) throws ParseException
      Parses the OSGroup data from the backup XML. The name attribute is required, otherwise a ParseException will be thrown.
      Parameters:
      attributes - is a map of key value pairs that represent the attributes of an OSGroup.
      Returns:
      an ExternalGroup if the attributes contain the required fields.
      Throws:
      ParseException - if the required fields are not found in the attributes map.