com.atlassian.jira.imports.project.parser
Class GroupParserImpl
java.lang.Object
com.atlassian.jira.imports.project.parser.GroupParserImpl
- All Implemented Interfaces:
- GroupParser
public class GroupParserImpl
- extends Object
- implements GroupParser
- Since:
- v3.13
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupParserImpl
public GroupParserImpl()
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-2009 Atlassian. All Rights Reserved.