public class

ProjectImportDataImpl

extends Object
implements ProjectImportData
java.lang.Object
   ↳ com.atlassian.jira.imports.project.core.ProjectImportDataImpl

Summary

Public Constructors
ProjectImportDataImpl(ProjectImportMapper projectImportMapper, ProjectImportTemporaryFiles temporaryFiles, AoImportTemporaryFiles aoImportTemporaryFiles, int issueCount, int customFieldValuesCount, int issueRelatedEntitiesCount, int fileAttachmentCount, int changeItemEntityCount, int nonIssueEntityCount)
Public Methods
boolean equals(Object o)
int getChangeItemEntityCount()
int getCustomFieldValuesEntityCount()
int getFileAttachmentEntityCount()
int getIssueEntityCount()
int getIssueRelatedEntityCount()
int getNonIssueEntityCount()
String getPathToEntityXml(String entityName)
The path to the partitioned XML file for the specified entity.
ProjectImportMapper getProjectImportMapper()
The central object used to map all the data the backup project contains.
AoImportTemporaryFiles getTemporaryAoFiles()
Returns the ProjectImportTemporaryFiles containing the path to the Project Import's temporary directory and all the partitioned XML files.
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.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.imports.project.core.ProjectImportData

Public Constructors

public ProjectImportDataImpl (ProjectImportMapper projectImportMapper, ProjectImportTemporaryFiles temporaryFiles, AoImportTemporaryFiles aoImportTemporaryFiles, int issueCount, int customFieldValuesCount, int issueRelatedEntitiesCount, int fileAttachmentCount, int changeItemEntityCount, int nonIssueEntityCount)

Public Methods

public boolean equals (Object o)

public int getChangeItemEntityCount ()

public int getCustomFieldValuesEntityCount ()

public int getFileAttachmentEntityCount ()

public int getIssueEntityCount ()

public int getIssueRelatedEntityCount ()

public int getNonIssueEntityCount ()

public String getPathToEntityXml (String entityName)

The path to the partitioned XML file for the specified entity.

Returns
  • path to the partitioned XML file for the specified entity.

public 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.

public 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.

public 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.

public 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.

public int hashCode ()

public 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.