com.atlassian.jira.imports.project.parser
Class GroupParserImpl

java.lang.Object
  extended by com.atlassian.jira.imports.project.parser.GroupParserImpl
All Implemented Interfaces:
GroupParser

public class GroupParserImpl
extends Object
implements GroupParser

Since:
v3.13

Field Summary
 
Fields inherited from interface com.atlassian.jira.imports.project.parser.GroupParser
GROUP_ENTITY_NAME
 
Constructor Summary
GroupParserImpl()
           
 
Method Summary
 ExternalGroup parse(Map attributes)
          Parses the OSGroup data from the backup XML.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupParserImpl

public GroupParserImpl()
Method Detail

parse

public ExternalGroup parse(Map attributes)
                    throws ParseException
Description copied from interface: GroupParser
Parses the OSGroup data from the backup XML. The name attribute is required, otherwise a ParseException will be thrown.

Specified by:
parse in interface GroupParser
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-2012 Atlassian. All Rights Reserved.