public interface BackupProject
Modifier and Type | Method and Description |
---|---|
boolean |
containsIssue(String id) |
Collection<Object> |
getAdditionalData(String key)
Get additional data stored against this key.
|
ExternalCustomFieldConfiguration |
getCustomFieldConfiguration(String customFieldId)
Deprecated.
|
Collection<ExternalCustomFieldConfiguration> |
getCustomFieldConfigurations(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.
|
ExternalProject getProject()
ExternalProject
that is represented in the XML backup.Collection<ExternalVersion> getProjectVersions()
ExternalVersion
's that are associated with the project
returned from getProject()
.Collection<ExternalComponent> getProjectComponents()
ExternalComponent
's that are associated with the project
returned from getProject()
.Collection<Long> getIssueIds()
getProject()
.Collection<ExternalCustomFieldConfiguration> getCustomFields()
ExternalCustomFieldConfiguration
's that
describe the custom fields and their configurations for this project.@Deprecated ExternalCustomFieldConfiguration getCustomFieldConfiguration(String customFieldId)
getCustomFieldConfigurations(String)
customFieldId
- the id of the custom field configuration to retrieveCollection<ExternalCustomFieldConfiguration> getCustomFieldConfigurations(String customFieldId)
customFieldId
- the id of the custom field configuration to retrieveboolean containsIssue(String id)
id
- an issue id that can be converted to a LongCollection<Object> getAdditionalData(String 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.
key
- Key under which this data is stored.int getSystemFieldMaxTextLength()
Copyright © 2002-2019 Atlassian. All Rights Reserved.