com.atlassian.jira.imports.project.mapper
Class IssueTypeMapper
java.lang.Object
com.atlassian.jira.imports.project.mapper.AbstractMapper
com.atlassian.jira.imports.project.mapper.IssueTypeMapper
- All Implemented Interfaces:
- ProjectImportIdMapper
public class IssueTypeMapper
- extends AbstractMapper
- implements ProjectImportIdMapper
The issue type mapper. This is different from simple mappers because we need to keep track if an issue type is
defined as a sub-task issue type or not.
- Since:
- v3.13
IssueTypeMapper
public IssueTypeMapper()
isSubTask
public boolean isSubTask(String id)
flagValueAsRequired
public void flagValueAsRequired(String oldId)
- Description copied from class:
AbstractMapper
- This is an internal method for use by Mappers extending AbstractMapper and should not be called from other classes.
MapperHandlers should call the public method specific to the concrete class they use.
- Overrides:
flagValueAsRequired
in class AbstractMapper
- Parameters:
oldId
- The ID of the required object from the import file.
registerOldValue
public void registerOldValue(String oldId,
String oldKey,
boolean subTask)
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2002-2012 Atlassian. All Rights Reserved.