Package com.atlassian.bamboo.migration
Class ImportExportManagerImpl
java.lang.Object
com.atlassian.bamboo.migration.ImportExportManagerImpl
- All Implemented Interfaces:
ImportExportManager
-
Constructor Summary
ConstructorDescriptionImportExportManagerImpl
(DeletionService deletionService, XmlMigrator xmlMigrator, com.opensymphony.xwork2.TextProvider textProvider, AdminErrorHandler adminErrorHandler, DummyResultsSummaryCache dummyResultsSummaryCache, ImmutablePlanCacheService immutablePlanCacheService, ClusterAwareLifecycleManager clusterAwareLifecycleManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
bambooExport
(ExportDetailsBean exportDetails) Controls Bamboo Exportvoid
bambooImport
(String path) Execute first phase of import.void
bambooImport
(String path, boolean clearArtifacts) Controls Bamboo Importvoid
Execute second phase of import.void
void
validateImport
(String path) Validates Bamboo import file
-
Constructor Details
-
ImportExportManagerImpl
public ImportExportManagerImpl(DeletionService deletionService, XmlMigrator xmlMigrator, com.opensymphony.xwork2.TextProvider textProvider, AdminErrorHandler adminErrorHandler, DummyResultsSummaryCache dummyResultsSummaryCache, ImmutablePlanCacheService immutablePlanCacheService, ClusterAwareLifecycleManager clusterAwareLifecycleManager)
-
-
Method Details
-
bambooExport
Description copied from interface:ImportExportManager
Controls Bamboo Export- Specified by:
bambooExport
in interfaceImportExportManager
- Parameters:
exportDetails
- ExportDetailsBean containing any information required to do the export- Throws:
InterruptedException
Exception
-
bambooImport
Description copied from interface:ImportExportManager
Execute first phase of import. All non-OSGI mappers are executed. Note that- Specified by:
bambooImport
in interfaceImportExportManager
- Parameters:
path
- String path of file to import- Throws:
InterruptedException
Exception
-
bambooOsgiDependentImport
Description copied from interface:ImportExportManager
Execute second phase of import. Only OSGI mappers are executed.- Specified by:
bambooOsgiDependentImport
in interfaceImportExportManager
- Parameters:
path
- String path of file to import- Throws:
Exception
-
bambooImport
Description copied from interface:ImportExportManager
Controls Bamboo Import- Specified by:
bambooImport
in interfaceImportExportManager
- Parameters:
path
- String path of file to importclearArtifacts
- artifact directory is erased prior the import iff true- Throws:
InterruptedException
Exception
-
validateImport
Description copied from interface:ImportExportManager
Validates Bamboo import file- Specified by:
validateImport
in interfaceImportExportManager
- Parameters:
path
- String path of file to import- Throws:
Exception
- when import file is not valid
-
resetGenerators
public void resetGenerators()- Specified by:
resetGenerators
in interfaceImportExportManager
-