public interface AoImportTemporaryFiles
Modifier and Type | Method and Description |
---|---|
File |
createFileForEntity(String entityName)
Creates a new the file object for an entity.
|
void |
deleteTempFiles()
Deletes the temporary files held in this object.
|
SortedMap<String,Long> |
getAOEntityWeights()
Returns a map from each AOEntity to the weight used for sorting the entity.
|
SortedMap<String,File> |
getAOXmlFiles()
Returns a map from each AOEntity to the temporary XML partition file for the Entity.
|
File |
getFileForEntity(String entityName)
Returns the file registered for an entity.
|
File |
getParentDirectory()
Returns the temporary directory which is the parent of all the temporary partition files.
|
void |
registerAoEntities()
Register all the AO entities that are defined to be imported by plugins.
|
void |
registerAoXmlFile(String entityName,
File file)
Record the entityName -> file mapping.
|
File getParentDirectory()
SortedMap<String,File> getAOXmlFiles()
File createFileForEntity(String entityName)
entityName
- The name of the entity.File getFileForEntity(String entityName)
entityName
- The name of the entity.SortedMap<String,Long> getAOEntityWeights()
void registerAoEntities()
void registerAoXmlFile(String entityName, File file)
entityName
- The name of the entity.file
- the temporary XML partition file.void deleteTempFiles()
Copyright © 2002-2021 Atlassian. All Rights Reserved.