com.atlassian.jira.imports.project.core
Interface ProjectImportData

All Known Implementing Classes:
ProjectImportDataImpl

public interface ProjectImportData

Stores project specific data that is used to make the import happen. Provides the project import mapper and the paths, on disk, to the partitioned XML files that contain the backup projects data.

Since:
v3.13

Method Summary
 int getChangeItemEntityCount()
           
 int getCustomFieldValuesEntityCount()
           
 int getFileAttachmentEntityCount()
           
 int getIssueEntityCount()
           
 int getIssueRelatedEntityCount()
           
 String getPathToChangeItemXml()
          The path to the partitioned XML file for the projects change item entities.
 String getPathToCustomFieldValuesXml()
          The path to the partitioned XML file for the projects custom field values.
 String getPathToFileAttachmentXml()
          The path to the partitioned XML file for the projects issue file attachment entities.
 String getPathToIssueRelatedEntitiesXml()
          The path to the partitioned XML file for the projects issue related entities.
 String getPathToIssuesXml()
          The path to the partitioned XML file for the projects issue entities.
 ProjectImportMapper getProjectImportMapper()
          The central object used to map all the data the backup project contains.
 ProjectImportTemporaryFiles getTemporaryFiles()
          Returns the ProjectImportTemporaryFiles containing the path to the Project Import's temporary directory and all the partitioned XML files.
 int getValidAttachmentsCount()
          Gets the count of the number of valid attachments the import will try to create.
 void setValidAttachmentsCount(int validAttachmentCount)
          Sets the count of the number of valid attachments the import will try to create.
 

Method Detail

getPathToCustomFieldValuesXml

String getPathToCustomFieldValuesXml()
The path to the partitioned XML file for the projects custom field values.

Returns:
path to the partitioned XML file for the projects custom field values.

getCustomFieldValuesEntityCount

int getCustomFieldValuesEntityCount()
Returns:
The count of the number of custom field values that are stored in the custom field values XML file.

getPathToIssueRelatedEntitiesXml

String getPathToIssueRelatedEntitiesXml()
The path to the partitioned XML file for the projects issue related entities.

Returns:
path to the partitioned XML file for the projects issue related entities.

getIssueRelatedEntityCount

int getIssueRelatedEntityCount()
Returns:
The count of the number of issue related values that are stored in the issue related XML file.

getPathToIssuesXml

String getPathToIssuesXml()
The path to the partitioned XML file for the projects issue entities.

Returns:
path to the partitioned XML file for the projects issue entities.

getIssueEntityCount

int getIssueEntityCount()
Returns:
The count of the number of issues that are stored in the issue XML file.

getPathToFileAttachmentXml

String getPathToFileAttachmentXml()
The path to the partitioned XML file for the projects issue file attachment entities.

Returns:
path to the partitioned XML file for the projects issue file attachment entities. This can be null if the user has chosen not to specify an attachment directory.

getFileAttachmentEntityCount

int getFileAttachmentEntityCount()
Returns:
The count of the number of file attachment values that are stored in the attachment XML file.

getProjectImportMapper

ProjectImportMapper getProjectImportMapper()
The central object used to map all the data the backup project contains.

Returns:
object used to map all the data the backup project contains.

setValidAttachmentsCount

void setValidAttachmentsCount(int validAttachmentCount)
Sets the count of the number of valid attachments the import will try to create.

Parameters:
validAttachmentCount - the count of the number of valid attachments the import will try to create.

getValidAttachmentsCount

int getValidAttachmentsCount()
Gets the count of the number of valid attachments the import will try to create.

Returns:
the count of the number of valid attachments the import will try to create.

getPathToChangeItemXml

String getPathToChangeItemXml()
The path to the partitioned XML file for the projects change item entities.

Returns:
path to the partitioned XML file for the projects change item entities.

getChangeItemEntityCount

int getChangeItemEntityCount()
Returns:
The count of the number of change item values that are stored in the change item XML file.

getTemporaryFiles

ProjectImportTemporaryFiles getTemporaryFiles()
Returns the ProjectImportTemporaryFiles containing the path to the Project Import's temporary directory and all the partitioned XML files.

Returns:
the ProjectImportTemporaryFiles containing the path to the Project Import's temporary directory and all the partitioned XML files.


Copyright © 2002-2009 Atlassian. All Rights Reserved.