Class ProjectImportDataImpl
java.lang.Object
com.atlassian.jira.imports.project.core.ProjectImportDataImpl
- All Implemented Interfaces:
ProjectImportData
- Since:
- v3.13
-
Constructor Summary
ConstructorsConstructorDescriptionProjectImportDataImpl
(ProjectImportMapper projectImportMapper, ProjectImportTemporaryFiles temporaryFiles, AoImportTemporaryFiles aoImportTemporaryFiles, int issueCount, int customFieldValuesCount, int issueRelatedEntitiesCount, int fileAttachmentCount, int changeItemEntityCount, int nonIssueEntityCount) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
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.int
hashCode()
void
setValidAttachmentsCount
(int validAttachmentCount) Sets the count of the number of valid attachments the import will try to create.
-
Constructor Details
-
ProjectImportDataImpl
public ProjectImportDataImpl(ProjectImportMapper projectImportMapper, ProjectImportTemporaryFiles temporaryFiles, AoImportTemporaryFiles aoImportTemporaryFiles, int issueCount, int customFieldValuesCount, int issueRelatedEntitiesCount, int fileAttachmentCount, int changeItemEntityCount, int nonIssueEntityCount)
-
-
Method Details
-
getTemporaryFiles
Description copied from interface:ProjectImportData
Returns the ProjectImportTemporaryFiles containing the path to the Project Import's temporary directory and all the partitioned XML files.- Specified by:
getTemporaryFiles
in interfaceProjectImportData
- Returns:
- the ProjectImportTemporaryFiles containing the path to the Project Import's temporary directory and all the partitioned XML files.
-
getTemporaryAoFiles
Description copied from interface:ProjectImportData
Returns the ProjectImportTemporaryFiles containing the path to the Project Import's temporary directory and all the partitioned XML files.- Specified by:
getTemporaryAoFiles
in interfaceProjectImportData
- Returns:
- the ProjectImportTemporaryFiles containing the path to the Project Import's temporary directory and all the partitioned XML files.
-
getPathToEntityXml
Description copied from interface:ProjectImportData
The path to the partitioned XML file for the specified entity.- Specified by:
getPathToEntityXml
in interfaceProjectImportData
- Returns:
- path to the partitioned XML file for the specified entity.
-
getIssueEntityCount
public int getIssueEntityCount()- Specified by:
getIssueEntityCount
in interfaceProjectImportData
- Returns:
- The count of the number of issues that are stored in the issue XML file.
-
getFileAttachmentEntityCount
public int getFileAttachmentEntityCount()- Specified by:
getFileAttachmentEntityCount
in interfaceProjectImportData
- Returns:
- The count of the number of file attachment values that are stored in the attachment XML file.
-
getIssueRelatedEntityCount
public int getIssueRelatedEntityCount()- Specified by:
getIssueRelatedEntityCount
in interfaceProjectImportData
- Returns:
- The count of the number of issue related values that are stored in the issue related XML file.
-
getCustomFieldValuesEntityCount
public int getCustomFieldValuesEntityCount()- Specified by:
getCustomFieldValuesEntityCount
in interfaceProjectImportData
- Returns:
- The count of the number of custom field values that are stored in the custom field values XML file.
-
getChangeItemEntityCount
public int getChangeItemEntityCount()- Specified by:
getChangeItemEntityCount
in interfaceProjectImportData
- Returns:
- The count of the number of change item values that are stored in the change item XML file.
-
getProjectImportMapper
Description copied from interface:ProjectImportData
The central object used to map all the data the backup project contains.- Specified by:
getProjectImportMapper
in interfaceProjectImportData
- Returns:
- object used to map all the data the backup project contains.
-
setValidAttachmentsCount
public void setValidAttachmentsCount(int validAttachmentCount) Description copied from interface:ProjectImportData
Sets the count of the number of valid attachments the import will try to create.- Specified by:
setValidAttachmentsCount
in interfaceProjectImportData
- Parameters:
validAttachmentCount
- the count of the number of valid attachments the import will try to create.
-
getValidAttachmentsCount
public int getValidAttachmentsCount()Description copied from interface:ProjectImportData
Gets the count of the number of valid attachments the import will try to create.- Specified by:
getValidAttachmentsCount
in interfaceProjectImportData
- Returns:
- the count of the number of valid attachments the import will try to create.
-
getNonIssueEntityCount
public int getNonIssueEntityCount()- Specified by:
getNonIssueEntityCount
in interfaceProjectImportData
-
equals
-
hashCode
public int hashCode()
-