public class

ProjectIssueSecurityLevelMapperHandler

extends Object
implements ImportOfBizEntityHandler
java.lang.Object
   ↳ com.atlassian.jira.imports.project.handler.ProjectIssueSecurityLevelMapperHandler

Class Overview

This will populate the IssueSecurityLevelMapper with projects issue security levels. This gets all issue security levels for the specified project and puts them into the mapper as old values. The IssueMapperHandler is responsible for flagging security levels as required for a specific project.

Summary

Constants
String ISSUE_SECURITY_LEVEL_ID
String ISSUE_SECURITY_LEVEL_NAME
String ISSUE_SECURITY_LEVEL_SCHEME
String NODE_ASSOCIATION_ISSUE_SECURITY_SCHEME
String SCHEME_ISSUE_SECURITY_LEVELS_ENTITY_NAME
Public Constructors
ProjectIssueSecurityLevelMapperHandler(BackupProject backupProject, SimpleProjectImportIdMapper issueSecurityLevelMapper)
Public Methods
void endDocument()
Provides the implementation an opportunity to perform some action when the document is finished being read.
boolean equals(Object o)
void handleEntity(String entityName, Map<StringString> attributes)
This is the main method to implement when using this ImportEntityHandler.
int hashCode()
void startDocument()
Provides the implementation an opportunity to perform some action when the document is starting to be read.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.imports.project.handler.ImportOfBizEntityHandler

Constants

public static final String ISSUE_SECURITY_LEVEL_ID

Constant Value: "id"

public static final String ISSUE_SECURITY_LEVEL_NAME

Constant Value: "name"

public static final String ISSUE_SECURITY_LEVEL_SCHEME

Constant Value: "scheme"

public static final String NODE_ASSOCIATION_ISSUE_SECURITY_SCHEME

Constant Value: "IssueSecurityScheme"

public static final String SCHEME_ISSUE_SECURITY_LEVELS_ENTITY_NAME

Constant Value: "SchemeIssueSecurityLevels"

Public Constructors

public ProjectIssueSecurityLevelMapperHandler (BackupProject backupProject, SimpleProjectImportIdMapper issueSecurityLevelMapper)

Public Methods

public void endDocument ()

Provides the implementation an opportunity to perform some action when the document is finished being read.

public boolean equals (Object o)

public void handleEntity (String entityName, Map<StringString> attributes)

This is the main method to implement when using this ImportEntityHandler. This method will provide the entity name and a complete map of attribute key/value pairs. This includes any nested element tags that will have CDATA bodies.

Parameters
entityName identifies the entity (i.e. Issue)
attributes complete list of the attributes listed in the XML element including the nested elements.

public int hashCode ()

public void startDocument ()

Provides the implementation an opportunity to perform some action when the document is starting to be read.