com.atlassian.jira.imports.project.util
Interface ProjectImportTemporaryFiles

All Known Implementing Classes:
ProjectImportTemporaryFilesImpl

public interface ProjectImportTemporaryFiles

Single interface to hold the paths to the Temporary XML partition files, and their temporary parent directory.

Since:
v3.13

Method Summary
 void deleteTempFiles()
          Deletes the temporary files held in this object.
 File getChangeItemEntitiesXmlFile()
          Returns the temporary XML partition file for ChangeItems.
 File getCustomFieldValuesXmlFile()
          Returns the temporary XML partition file for CustomFields.
 File getFileAttachmentEntitiesXmlFile()
          Returns the temporary XML partition file for FileAttachments.
 File getIssueRelatedEntitiesXmlFile()
          Returns the temporary XML partition file for Issue related entities.
 File getIssuesXmlFile()
          Returns the temporary XML partition file for Issues.
 File getParentDirectory()
          Returns the temporary directory which is the parent of all the temporary partition files.
 

Method Detail

getParentDirectory

File getParentDirectory()
Returns the temporary directory which is the parent of all the temporary partition files.

Returns:
the temporary directory which is the parent of all the temporary partition files.

getIssuesXmlFile

File getIssuesXmlFile()
Returns the temporary XML partition file for Issues.

Returns:
the temporary XML partition file for Issues.

getCustomFieldValuesXmlFile

File getCustomFieldValuesXmlFile()
Returns the temporary XML partition file for CustomFields.

Returns:
the temporary XML partition file for CustomFields.

getIssueRelatedEntitiesXmlFile

File getIssueRelatedEntitiesXmlFile()
Returns the temporary XML partition file for Issue related entities.

Returns:
the temporary XML partition file for Issue related entities.

getChangeItemEntitiesXmlFile

File getChangeItemEntitiesXmlFile()
Returns the temporary XML partition file for ChangeItems.

Returns:
the temporary XML partition file for ChangeItems.

getFileAttachmentEntitiesXmlFile

File getFileAttachmentEntitiesXmlFile()
Returns the temporary XML partition file for FileAttachments.

Returns:
the temporary XML partition file for FileAttachments.

deleteTempFiles

void deleteTempFiles()
Deletes the temporary files held in this object. It is safe to call this method twice as it will check if the files actually exist first.



Copyright © 2002-2008 Atlassian. All Rights Reserved.