public class BackupProjectImpl extends Object implements BackupProject
Constructor and Description |
---|
BackupProjectImpl(ExternalProject project,
List<ExternalVersion> versions,
List<ExternalComponent> components,
List<ExternalCustomFieldConfiguration> customFieldConfigurations,
List<Long> issueIds) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsIssue(String id) |
boolean |
equals(Object o) |
ExternalCustomFieldConfiguration |
getCustomFieldConfiguration(String customFieldId) |
Collection<ExternalCustomFieldConfiguration> |
getCustomFields() |
Collection<Long> |
getIssueIds() |
ExternalProject |
getProject() |
Collection<ExternalComponent> |
getProjectComponents() |
Collection<ExternalVersion> |
getProjectVersions() |
int |
hashCode() |
String |
toString() |
public BackupProjectImpl(ExternalProject project, List<ExternalVersion> versions, List<ExternalComponent> components, List<ExternalCustomFieldConfiguration> customFieldConfigurations, List<Long> issueIds)
public ExternalProject getProject()
getProject
in interface BackupProject
ExternalProject
that is represented in the XML backup.public Collection<ExternalVersion> getProjectVersions()
getProjectVersions
in interface BackupProject
ExternalVersion
's that are associated with the project
returned from BackupProject.getProject()
.public Collection<ExternalComponent> getProjectComponents()
getProjectComponents
in interface BackupProject
ExternalComponent
's that are associated with the project
returned from BackupProject.getProject()
.public Collection<Long> getIssueIds()
getIssueIds
in interface BackupProject
BackupProject.getProject()
.public Collection<ExternalCustomFieldConfiguration> getCustomFields()
getCustomFields
in interface BackupProject
ExternalCustomFieldConfiguration
's that
describe the custom fields and their configurations for this project.public ExternalCustomFieldConfiguration getCustomFieldConfiguration(String customFieldId)
getCustomFieldConfiguration
in interface BackupProject
customFieldId
- the id of the custom field configuration to retrievepublic boolean containsIssue(String id)
containsIssue
in interface BackupProject
id
- an issue id that can be converted to a LongCopyright © 2002-2015 Atlassian. All Rights Reserved.