com.atlassian.jira.imports.project.parser
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
static String GROUP_ENTITY_NAME
           
 
Method Summary
 ExternalGroup parse(Map attributes)
          Parses the OSGroup data from the backup XML.
 

Field Detail

GROUP_ENTITY_NAME

static final String GROUP_ENTITY_NAME
See Also:
Constant Field Values
Method Detail

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.


Copyright © 2002-2013 Atlassian. All Rights Reserved.