public interface

GroupParser

com.atlassian.jira.imports.project.parser.GroupParser
Known Indirect Subclasses

Class Overview

Converts OSGroup xml in a JIRA backup to an object representation.

Summary

Constants
String GROUP_ENTITY_NAME
Public Methods
ExternalGroup parse(Map attributes)
Parses the OSGroup data from the backup XML.

Constants

public static final String GROUP_ENTITY_NAME

Constant Value: "Group"

Public Methods

public ExternalGroup parse (Map attributes)

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.