public class

BackupProjectImpl

extends Object
implements BackupProject
java.lang.Object
   ↳ com.atlassian.jira.imports.project.core.BackupProjectImpl

Summary

Public Constructors
BackupProjectImpl(ExternalProject project, List<ExternalVersion> versions, List<ExternalComponent> components, List<ExternalCustomFieldConfiguration> customFieldConfigurations, List<Long> issueIds, int maxSystemFieldTextLength, Map<StringCollection<Object>> additionalData)
Public Methods
boolean containsIssue(String id)
boolean equals(Object o)
Collection<Object> getAdditionalData(String key)
Get additional data stored against this key.
ExternalCustomFieldConfiguration getCustomFieldConfiguration(String customFieldId)
Collection<ExternalCustomFieldConfiguration> getCustomFields()
Collection<Long> getIssueIds()
ExternalProject getProject()
Collection<ExternalComponent> getProjectComponents()
Collection<ExternalVersion> getProjectVersions()
int getSystemFieldMaxTextLength()
Get maximum length of text system fields found in this project.
int hashCode()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.imports.project.core.BackupProject

Public Constructors

public BackupProjectImpl (ExternalProject project, List<ExternalVersion> versions, List<ExternalComponent> components, List<ExternalCustomFieldConfiguration> customFieldConfigurations, List<Long> issueIds, int maxSystemFieldTextLength, Map<StringCollection<Object>> additionalData)

Public Methods

public boolean containsIssue (String id)

public boolean equals (Object o)

public Collection<Object> getAdditionalData (String key)

Get additional data stored against this key.

Plugins should namespace keys appropriately to ensure they can store data uniquely.

Plugins would typically store information about what configuration items are used and may be required by items that will be related.

For example: A Plugin that provides Test Planning, might store any Test Plans that are referenced by the issues being imported.

Parameters
key Key under which this data is stored.
Returns
  • Collection of data stored under this key.

public ExternalCustomFieldConfiguration getCustomFieldConfiguration (String customFieldId)

public Collection<ExternalCustomFieldConfiguration> getCustomFields ()

public Collection<Long> getIssueIds ()

public ExternalProject getProject ()

public Collection<ExternalComponent> getProjectComponents ()

public Collection<ExternalVersion> getProjectVersions ()

public int getSystemFieldMaxTextLength ()

Get maximum length of text system fields found in this project. Used to check if imported project does not exceed jira character limit setting.

Returns
  • maximum length of issue description, environment, comment or text custom field or 0 if project is empty

public int hashCode ()

public String toString ()