public class DefaultImportContext extends Object implements ImportContext
Constructor and Description |
---|
DefaultImportContext() |
DefaultImportContext(String workingFile,
ConfluenceUser importer) |
DefaultImportContext(String workingFile,
ExportDescriptor exportDescriptor,
ConfluenceUser importer) |
DefaultImportContext(String workingFile,
com.atlassian.user.User importer)
Deprecated.
|
DefaultImportContext(URL workingURL,
ConfluenceUser importer) |
DefaultImportContext(URL workingURL,
com.atlassian.user.User importer)
Deprecated.
|
public DefaultImportContext(String workingFile, ExportDescriptor exportDescriptor, ConfluenceUser importer)
public DefaultImportContext()
public DefaultImportContext(String workingFile, ConfluenceUser importer)
@Deprecated public DefaultImportContext(String workingFile, com.atlassian.user.User importer)
public DefaultImportContext(URL workingURL, ConfluenceUser importer)
@Deprecated public DefaultImportContext(URL workingURL, com.atlassian.user.User importer)
public String getWorkingFile()
getWorkingFile
in interface ImportContext
public ImportedObjectPostProcessor getPostProcessor()
getPostProcessor
in interface ImportContext
public void setWorkingFile(String workingFile)
public void setPreProcessor(ImportedObjectPreProcessor preProcessor)
public ImportedObjectPreProcessor getPreProcessor()
getPreProcessor
in interface ImportContext
public boolean isIncrementalImport()
public void setIncrementalImport(boolean incrementalImport)
public boolean isRequireUpgrades()
public void setRequireUpgrades(boolean requireUpgrades)
public String getDefaultSpaceKey()
public void setDefaultSpaceKey(String defaultSpaceKey)
public String getDefaultUsersGroup()
getDefaultUsersGroup
in interface ImportContext
public void setDefaultUsersGroup(String defaultUsersGroup)
public com.atlassian.core.util.ProgressMeter getProgressMeter()
getProgressMeter
in interface ImportContext
public void setProgressMeter(com.atlassian.core.util.ProgressMeter progress)
setProgressMeter
in interface ImportContext
public boolean isDeleteWorkingFile()
isDeleteWorkingFile
in interface ImportContext
public void setDeleteWorkingFile(boolean deleteWorkingFile)
setDeleteWorkingFile
in interface ImportContext
public URL getWorkingURL()
public void setWorkingURL(URL workingURL)
public ConfluenceUser getUser()
getUser
in interface ImportContext
@Deprecated public ConfluenceUser getCurrentUser()
getUser()
.getCurrentUser
in interface ImportContext
public void setRebuildIndex(boolean rebuildIndex)
setRebuildIndex
in interface ImportContext
public boolean isRebuildIndex()
isRebuildIndex
in interface ImportContext
public void setPostProcessor(ImportedObjectPostProcessor postProcessor)
public String getSpaceKeyOfSpaceImport()
getSpaceKeyOfSpaceImport
in interface ImportContext
public List<PostImportTask> getPostImportTasks()
getPostImportTasks
in interface ImportContext
public void setPostImportTasks(List<PostImportTask> postImportTasks)
setPostImportTasks
in interface ImportContext
public void setSpaceKeyOfSpaceImport(String spaceKeyOfSpaceImport)
public ImportedPluginDataPreProcessor getPluginDataPreProcessor()
getPluginDataPreProcessor
in interface ImportContext
public void setPluginDataPreProcessor(ImportedPluginDataPreProcessor pluginDataPreProcessor)
public ExportDescriptor getExportDescriptor()
getExportDescriptor
in interface ImportContext
Copyright © 2003–2018 Atlassian. All rights reserved.