|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.imports.project.parser.UserAssociationParserImpl
public class UserAssociationParserImpl
Field Summary |
---|
Fields inherited from interface com.atlassian.jira.imports.project.parser.UserAssociationParser |
---|
ASSOCIATION_TYPE_VOTE_ISSUE, ASSOCIATION_TYPE_WATCH_ISSUE, USER_ASSOCIATION_ENTITY_NAME |
Constructor Summary | |
---|---|
UserAssociationParserImpl()
|
Method Summary | |
---|---|
ExternalVoter |
parseVoter(java.util.Map attributes)
Parses the voter data from the backup XML. |
ExternalWatcher |
parseWatcher(java.util.Map attributes)
Parses the watcher 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 |
---|
public UserAssociationParserImpl()
Method Detail |
---|
public ExternalVoter parseVoter(java.util.Map attributes) throws ParseException
UserAssociationParser
parseVoter
in interface UserAssociationParser
attributes
- is a map of key value pairs that represent the attributes of an ExternalVoter.
The parser will only create an ExternalVoter if the sinkNodeEntity attribute is provided an is 'Issue' AND
the associationType attribute is provided and is 'VoteIssue'.
The following attributes are required, otherwise a ParseException will be thrown:ParseException
- if the required fields are not found in the attributes mappublic ExternalWatcher parseWatcher(java.util.Map attributes) throws ParseException
UserAssociationParser
parseWatcher
in interface UserAssociationParser
attributes
- is a map of key value pairs that represent the attributes of an ExternalWatcher.
The parser will only create an ExternalWatcher if the sinkNodeEntity attribute is provided an is 'Issue' AND
the associationType attribute is provided and is 'WatchIssue'.
The following attributes are required, otherwise a ParseException will be thrown:ParseException
- if the required fields are not found in the attributes map
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |