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
Modifier and TypeMethodDescriptionint
int
int
int
int
int
getPathToEntityXml
(String entityName) The path to the partitioned XML file for the specified entity.The central object used to map all the data the backup project contains.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.int
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 Details
-
getPathToEntityXml
The path to the partitioned XML file for the specified entity.- Returns:
- path to the partitioned XML file for the specified entity.
-
getCustomFieldValuesEntityCount
int getCustomFieldValuesEntityCount()- Returns:
- The count of the number of custom field values that are stored in the custom field values XML file.
-
getIssueRelatedEntityCount
int getIssueRelatedEntityCount()- Returns:
- The count of the number of issue related values that are stored in the issue related XML file.
-
getIssueEntityCount
int getIssueEntityCount()- Returns:
- The count of the number of issues that are stored in the issue XML file.
-
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.
-
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.
-
getTemporaryAoFiles
AoImportTemporaryFiles getTemporaryAoFiles()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.
-
getNonIssueEntityCount
int getNonIssueEntityCount()
-