Class DefaultImportContext
- java.lang.Object
-
- com.atlassian.confluence.importexport.DefaultImportContext
-
- All Implemented Interfaces:
ImportContext
@Deprecated public class DefaultImportContext extends Object implements ImportContext
Deprecated.since 7.17.0. UseBackupRestoreManager
instead.
-
-
Constructor Summary
Constructors Constructor Description DefaultImportContext()
Deprecated.DefaultImportContext(String workingFile, ExportDescriptor exportDescriptor, ConfluenceUser importer)
Deprecated.DefaultImportContext(String workingFile, ConfluenceUser importer)
Deprecated.DefaultImportContext(String workingFile, com.atlassian.user.User importer)
Deprecated.DefaultImportContext(URL workingURL, ConfluenceUser importer)
Deprecated.DefaultImportContext(URL workingURL, com.atlassian.user.User importer)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getDefaultSpaceKey()
Deprecated.String
getDefaultUsersGroup()
Deprecated.ExportDescriptor
getExportDescriptor()
Deprecated.ImportedPluginDataPreProcessor
getPluginDataPreProcessor()
Deprecated.List<PostImportTask>
getPostImportTasks()
Deprecated.ImportedObjectPostProcessor
getPostProcessor()
Deprecated.ImportedObjectPreProcessor
getPreProcessor()
Deprecated.com.atlassian.core.util.ProgressMeter
getProgressMeter()
Deprecated.String
getSpaceKeyOfSpaceImport()
Deprecated.ConfluenceUser
getUser()
Deprecated.String
getWorkingFile()
Deprecated.URL
getWorkingURL()
Deprecated.boolean
isDeleteWorkingFile()
Deprecated.boolean
isIncrementalImport()
Deprecated.boolean
isRebuildIndex()
Deprecated.boolean
isRequireUpgrades()
Deprecated.void
setDefaultSpaceKey(String defaultSpaceKey)
Deprecated.void
setDefaultUsersGroup(String defaultUsersGroup)
Deprecated.void
setDeleteWorkingFile(boolean deleteWorkingFile)
Deprecated.void
setIncrementalImport(boolean incrementalImport)
Deprecated.void
setPluginDataPreProcessor(ImportedPluginDataPreProcessor pluginDataPreProcessor)
Deprecated.void
setPostImportTasks(List<PostImportTask> postImportTasks)
Deprecated.void
setPostProcessor(ImportedObjectPostProcessor postProcessor)
Deprecated.void
setPreProcessor(ImportedObjectPreProcessor preProcessor)
Deprecated.void
setProgressMeter(com.atlassian.core.util.ProgressMeter progress)
Deprecated.void
setRebuildIndex(boolean rebuildIndex)
Deprecated.void
setRequireUpgrades(boolean requireUpgrades)
Deprecated.void
setSpaceKeyOfSpaceImport(String spaceKeyOfSpaceImport)
Deprecated.void
setWorkingFile(String workingFile)
Deprecated.void
setWorkingURL(URL workingURL)
Deprecated.
-
-
-
Constructor Detail
-
DefaultImportContext
public DefaultImportContext(String workingFile, ExportDescriptor exportDescriptor, ConfluenceUser importer)
Deprecated.
-
DefaultImportContext
public DefaultImportContext()
Deprecated.
-
DefaultImportContext
public DefaultImportContext(String workingFile, ConfluenceUser importer)
Deprecated.
-
DefaultImportContext
@Deprecated public DefaultImportContext(String workingFile, com.atlassian.user.User importer)
Deprecated.
-
DefaultImportContext
public DefaultImportContext(URL workingURL, ConfluenceUser importer)
Deprecated.
-
DefaultImportContext
@Deprecated public DefaultImportContext(URL workingURL, com.atlassian.user.User importer)
Deprecated.
-
-
Method Detail
-
getWorkingFile
public String getWorkingFile()
Deprecated.- Specified by:
getWorkingFile
in interfaceImportContext
-
getPostProcessor
public ImportedObjectPostProcessor getPostProcessor()
Deprecated.- Specified by:
getPostProcessor
in interfaceImportContext
-
setWorkingFile
public void setWorkingFile(String workingFile)
Deprecated.
-
setPreProcessor
public void setPreProcessor(ImportedObjectPreProcessor preProcessor)
Deprecated.
-
getPreProcessor
public ImportedObjectPreProcessor getPreProcessor()
Deprecated.- Specified by:
getPreProcessor
in interfaceImportContext
-
isIncrementalImport
public boolean isIncrementalImport()
Deprecated.
-
setIncrementalImport
public void setIncrementalImport(boolean incrementalImport)
Deprecated.
-
isRequireUpgrades
public boolean isRequireUpgrades()
Deprecated.
-
setRequireUpgrades
public void setRequireUpgrades(boolean requireUpgrades)
Deprecated.
-
getDefaultSpaceKey
public String getDefaultSpaceKey()
Deprecated.
-
setDefaultSpaceKey
public void setDefaultSpaceKey(String defaultSpaceKey)
Deprecated.
-
getDefaultUsersGroup
public String getDefaultUsersGroup()
Deprecated.- Specified by:
getDefaultUsersGroup
in interfaceImportContext
-
setDefaultUsersGroup
public void setDefaultUsersGroup(String defaultUsersGroup)
Deprecated.
-
getProgressMeter
public com.atlassian.core.util.ProgressMeter getProgressMeter()
Deprecated.- Specified by:
getProgressMeter
in interfaceImportContext
-
setProgressMeter
public void setProgressMeter(com.atlassian.core.util.ProgressMeter progress)
Deprecated.- Specified by:
setProgressMeter
in interfaceImportContext
-
isDeleteWorkingFile
public boolean isDeleteWorkingFile()
Deprecated.- Specified by:
isDeleteWorkingFile
in interfaceImportContext
-
setDeleteWorkingFile
public void setDeleteWorkingFile(boolean deleteWorkingFile)
Deprecated.- Specified by:
setDeleteWorkingFile
in interfaceImportContext
-
getWorkingURL
public URL getWorkingURL()
Deprecated.
-
setWorkingURL
public void setWorkingURL(URL workingURL)
Deprecated.
-
getUser
public ConfluenceUser getUser()
Deprecated.- Specified by:
getUser
in interfaceImportContext
-
setRebuildIndex
public void setRebuildIndex(boolean rebuildIndex)
Deprecated.- Specified by:
setRebuildIndex
in interfaceImportContext
-
isRebuildIndex
public boolean isRebuildIndex()
Deprecated.- Specified by:
isRebuildIndex
in interfaceImportContext
-
setPostProcessor
public void setPostProcessor(ImportedObjectPostProcessor postProcessor)
Deprecated.
-
getSpaceKeyOfSpaceImport
public String getSpaceKeyOfSpaceImport()
Deprecated.- Specified by:
getSpaceKeyOfSpaceImport
in interfaceImportContext
- Returns:
- the space key of the import, or null if this is not a space import
-
getPostImportTasks
public List<PostImportTask> getPostImportTasks()
Deprecated.- Specified by:
getPostImportTasks
in interfaceImportContext
- Returns:
- the import tasks for this import context, or an empty list if there are none
-
setPostImportTasks
public void setPostImportTasks(List<PostImportTask> postImportTasks)
Deprecated.- Specified by:
setPostImportTasks
in interfaceImportContext
-
setSpaceKeyOfSpaceImport
public void setSpaceKeyOfSpaceImport(String spaceKeyOfSpaceImport)
Deprecated.
-
getPluginDataPreProcessor
public ImportedPluginDataPreProcessor getPluginDataPreProcessor()
Deprecated.- Specified by:
getPluginDataPreProcessor
in interfaceImportContext
-
setPluginDataPreProcessor
public void setPluginDataPreProcessor(ImportedPluginDataPreProcessor pluginDataPreProcessor)
Deprecated.
-
getExportDescriptor
public ExportDescriptor getExportDescriptor()
Deprecated.- Specified by:
getExportDescriptor
in interfaceImportContext
-
-