public class ImportExportManagerImpl extends Object implements ImportExportManager
| Constructor and Description |
|---|
ImportExportManagerImpl(DeletionService deletionService,
XmlMigrator xmlMigrator,
com.opensymphony.xwork2.TextProvider textProvider,
AdminErrorHandler adminErrorHandler,
DummyResultsSummaryCache dummyResultsSummaryCache,
ImmutablePlanCacheService immutablePlanCacheService,
ServerLifecycleManager serverLifecycleManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
bambooExport(ExportDetailsBean exportDetails)
Controls Bamboo Export
|
void |
bambooImport(String path)
Execute first phase of import.
|
void |
bambooImport(String path,
boolean clearArtifacts)
Controls Bamboo Import
|
void |
bambooOsgiDependentImport(String path)
Execute second phase of import.
|
void |
resetGenerators() |
void |
validateImport(String path)
Validates Bamboo import file
|
public ImportExportManagerImpl(DeletionService deletionService, XmlMigrator xmlMigrator, com.opensymphony.xwork2.TextProvider textProvider, AdminErrorHandler adminErrorHandler, DummyResultsSummaryCache dummyResultsSummaryCache, ImmutablePlanCacheService immutablePlanCacheService, ServerLifecycleManager serverLifecycleManager)
public void bambooExport(ExportDetailsBean exportDetails) throws Exception
ImportExportManagerbambooExport in interface ImportExportManagerexportDetails - ExportDetailsBean containing any information required to do the exportInterruptedExceptionExceptionpublic void bambooImport(String path) throws Exception
ImportExportManagerbambooImport in interface ImportExportManagerpath - String path of file to importInterruptedExceptionExceptionpublic void bambooOsgiDependentImport(String path) throws Exception
ImportExportManagerbambooOsgiDependentImport in interface ImportExportManagerpath - String path of file to importExceptionpublic void bambooImport(String path, boolean clearArtifacts) throws Exception
ImportExportManagerbambooImport in interface ImportExportManagerpath - String path of file to importclearArtifacts - artifact directory is erased prior the import iff trueInterruptedExceptionExceptionpublic void validateImport(String path) throws Exception
ImportExportManagervalidateImport in interface ImportExportManagerpath - String path of file to importException - when import file is not validpublic void resetGenerators()
resetGenerators in interface ImportExportManagerCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.