com.atlassian.jira.imports.project.mapper
Class StatusMapper
java.lang.Object
com.atlassian.jira.imports.project.mapper.AbstractMapper
com.atlassian.jira.imports.project.mapper.StatusMapper
- All Implemented Interfaces:
- MapperEntityRegister, ProjectImportIdMapper
public class StatusMapper
- extends AbstractMapper
- implements ProjectImportIdMapper, MapperEntityRegister
Allows you to map statuses. This is different from the other simple mappers as when we find a status is in use
we need to record which issue type it is in use with.
- Since:
- v3.13
StatusMapper
public StatusMapper()
getIssueTypeIdsForRequiredStatus
public Collection getIssueTypeIdsForRequiredStatus(String statusId)
flagValueAsRequired
public void flagValueAsRequired(String oldId,
String oldIssueTypeId)
registerOldValue
public void registerOldValue(String oldId,
String oldKey)
- 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.
- Specified by:
registerOldValue
in interface MapperEntityRegister
- Overrides:
registerOldValue
in class AbstractMapper
- Parameters:
oldId
- The ID of the required object from the import file.oldKey
- The unique key of the required object from the import file.
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.