Interface ImportedPluginDataPreProcessor
-
@Deprecated public interface ImportedPluginDataPreProcessor
Deprecated.since 7.17.0. No replacement.Allows imported plugin data to be modified before they are persisted. For example, we may want to change the entity id referenced by a workday task.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description File
process(com.atlassian.plugin.ModuleDescriptor<BackupRestoreProvider> moduleDescriptor, File source, ImportProcessorSummary summary)
Deprecated.Takes a source file of plugin data and returns a new, processed plugin data file, or the original file if no processing is required, or null if the plugin data should be skipped.
-
-
-
Method Detail
-
process
File process(com.atlassian.plugin.ModuleDescriptor<BackupRestoreProvider> moduleDescriptor, File source, ImportProcessorSummary summary)
Deprecated.Takes a source file of plugin data and returns a new, processed plugin data file, or the original file if no processing is required, or null if the plugin data should be skipped.- Parameters:
moduleDescriptor
- the module descriptor of the plugin module whose plugin data is to be restoredsource
- The source file of the plugin data that needs to be processedsummary
- The summary of the import just completed by Confluence.- Returns:
- A new, processed plugin data file, or the original file if no processing is required, or null if the plugin data should not be imported.
-
-