com.atlassian.jira.imports.project.core
Interface BackupProject
- All Known Implementing Classes:
- BackupProjectImpl
public interface BackupProject
Represents information about a single project gleaned from an XML backup.
- Since:
- v3.13
getProject
ExternalProject getProject()
- Returns:
- the
ExternalProject
that is represented in the XML backup.
getProjectVersions
Collection<ExternalVersion> getProjectVersions()
- Returns:
- the
ExternalVersion
's that are associated with the project
returned from getProject()
.
getProjectComponents
Collection<ExternalComponent> getProjectComponents()
- Returns:
- the
ExternalComponent
's that are associated with the project
returned from getProject()
.
getIssueIds
Collection<Long> getIssueIds()
- Returns:
- the issue id's that are associated with the project returned from
getProject()
.
getCustomFields
Collection<ExternalCustomFieldConfiguration> getCustomFields()
- Returns:
- the
ExternalCustomFieldConfiguration
's that
describe the custom fields and their configurations for this project.
getCustomFieldConfiguration
ExternalCustomFieldConfiguration getCustomFieldConfiguration(String customFieldId)
- Parameters:
customFieldId
- the id of the custom field configuration to retrieve
- Returns:
- the ExternalCustomFieldConfiguration for the custom field with the specified id, null if the project
does not have the custom field with the id.
containsIssue
boolean containsIssue(String id)
- Parameters:
id
- an issue id that can be converted to a Long
- Returns:
- true if the backup project contains the issue, false otherwise.
Copyright © 2002-2012 Atlassian. All Rights Reserved.