com.atlassian.jira.imports.project.core
Class ProjectImportDataImpl

java.lang.Object
  extended by com.atlassian.jira.imports.project.core.ProjectImportDataImpl
All Implemented Interfaces:
ProjectImportData

public class ProjectImportDataImpl
extends java.lang.Object
implements ProjectImportData

Since:
v3.13

Constructor Summary
ProjectImportDataImpl(ProjectImportMapper projectImportMapper, ProjectImportTemporaryFiles temporaryFiles, int issueCount, int customFieldValuesCount, int issueRelatedEntitiesCount, int fileAttachmentCount, int changeItemEntityCount)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int getChangeItemEntityCount()
           
 int getCustomFieldValuesEntityCount()
           
 int getFileAttachmentEntityCount()
           
 int getIssueEntityCount()
           
 int getIssueRelatedEntityCount()
           
 java.lang.String getPathToChangeItemXml()
          The path to the partitioned XML file for the projects change item entities.
 java.lang.String getPathToCustomFieldValuesXml()
          The path to the partitioned XML file for the projects custom field values.
 java.lang.String getPathToFileAttachmentXml()
          The path to the partitioned XML file for the projects issue file attachment entities.
 java.lang.String getPathToIssueRelatedEntitiesXml()
          The path to the partitioned XML file for the projects issue related entities.
 java.lang.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.
 int hashCode()
           
 void setValidAttachmentsCount(int validAttachmentCount)
          Sets the count of the number of valid attachments the import will try to create.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectImportDataImpl

public ProjectImportDataImpl(ProjectImportMapper projectImportMapper,
                             ProjectImportTemporaryFiles temporaryFiles,
                             int issueCount,
                             int customFieldValuesCount,
                             int issueRelatedEntitiesCount,
                             int fileAttachmentCount,
                             int changeItemEntityCount)
Method Detail

getTemporaryFiles

public ProjectImportTemporaryFiles 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 interface ProjectImportData
Returns:
the ProjectImportTemporaryFiles containing the path to the Project Import's temporary directory and all the partitioned XML files.

getPathToIssuesXml

public java.lang.String getPathToIssuesXml()
Description copied from interface: ProjectImportData
The path to the partitioned XML file for the projects issue entities.

Specified by:
getPathToIssuesXml in interface ProjectImportData
Returns:
path to the partitioned XML file for the projects issue entities.

getIssueEntityCount

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

getPathToFileAttachmentXml

public java.lang.String getPathToFileAttachmentXml()
Description copied from interface: ProjectImportData
The path to the partitioned XML file for the projects issue file attachment entities.

Specified by:
getPathToFileAttachmentXml in interface ProjectImportData
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

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

getPathToIssueRelatedEntitiesXml

public java.lang.String getPathToIssueRelatedEntitiesXml()
Description copied from interface: ProjectImportData
The path to the partitioned XML file for the projects issue related entities.

Specified by:
getPathToIssueRelatedEntitiesXml in interface ProjectImportData
Returns:
path to the partitioned XML file for the projects issue related entities.

getIssueRelatedEntityCount

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

getPathToCustomFieldValuesXml

public java.lang.String getPathToCustomFieldValuesXml()
Description copied from interface: ProjectImportData
The path to the partitioned XML file for the projects custom field values.

Specified by:
getPathToCustomFieldValuesXml in interface ProjectImportData
Returns:
path to the partitioned XML file for the projects custom field values.

getCustomFieldValuesEntityCount

public int getCustomFieldValuesEntityCount()
Specified by:
getCustomFieldValuesEntityCount in interface ProjectImportData
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 interface ProjectImportData
Returns:
The count of the number of change item values that are stored in the change item XML file.

getProjectImportMapper

public ProjectImportMapper getProjectImportMapper()
Description copied from interface: ProjectImportData
The central object used to map all the data the backup project contains.

Specified by:
getProjectImportMapper in interface ProjectImportData
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 interface ProjectImportData
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 interface ProjectImportData
Returns:
the count of the number of valid attachments the import will try to create.

getPathToChangeItemXml

public java.lang.String getPathToChangeItemXml()
Description copied from interface: ProjectImportData
The path to the partitioned XML file for the projects change item entities.

Specified by:
getPathToChangeItemXml in interface ProjectImportData
Returns:
path to the partitioned XML file for the projects change item entities.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2002-2010 Atlassian. All Rights Reserved.