java.lang.Object | |
↳ | com.atlassian.jira.imports.project.util.AoImportTemporaryFilesImpl |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new the file object for an entity.
| |||||||||||
Deletes the temporary files held in this object.
| |||||||||||
Returns a map from each AOEntity to the weight used for sorting the entity.
| |||||||||||
Returns a map from each AOEntity to the temporary XML partition file for the Entity.
| |||||||||||
Returns the file registered for an entity.
| |||||||||||
Returns the temporary directory which is the parent of all the temporary partition files.
| |||||||||||
Register all the AO entities that are defined to be imported by plugins.
| |||||||||||
Record the entityName -> file mapping.
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object | |||||||||||||||||||||||||||
From interface
com.atlassian.jira.imports.project.util.AoImportTemporaryFiles
|
Creates a new the file object for an entity.
entityName | The name of the entity. |
---|
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.
Returns a map from each AOEntity to the weight used for sorting the entity. The Entities are sorted according to the weight supplied by the plugin configurations.
Returns a map from each AOEntity to the temporary XML partition file for the Entity. The Entities are sorted according to the weight supplied by the plugin configurations. Entities that have no import specification are sorted alphabetically to the end.
Returns the file registered for an entity.
entityName | The name of the entity. |
---|
Returns the temporary directory which is the parent of all the temporary partition files.
Register all the AO entities that are defined to be imported by plugins. This allows us to set the correct sort order for processing the XML files later.
Record the entityName -> file mapping.
entityName | The name of the entity. |
---|---|
file | the temporary XML partition file. |