Package com.atlassian.bamboo.migration
Class ImportExportManagerImpl
java.lang.Object
com.atlassian.bamboo.migration.ImportExportManagerImpl
- All Implemented Interfaces:
ImportExportManager
-
Constructor Summary
ConstructorsConstructorDescriptionImportExportManagerImpl(DeletionService deletionService, XmlMigrator xmlMigrator, com.opensymphony.xwork2.TextProvider textProvider, AdminErrorHandler adminErrorHandler, DummyResultsSummaryCache dummyResultsSummaryCache, ImmutablePlanCacheService immutablePlanCacheService, ClusterAwareLifecycleManager clusterAwareLifecycleManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidbambooExport(ExportDetailsBean exportDetails) Controls Bamboo ExportvoidbambooImport(String path) Execute first phase of import.voidbambooImport(String path, boolean clearArtifacts) Controls Bamboo ImportvoidExecute second phase of import.voidvoidvalidateImport(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:ImportExportManagerControls Bamboo Export- Specified by:
bambooExportin interfaceImportExportManager- Parameters:
exportDetails- ExportDetailsBean containing any information required to do the export- Throws:
InterruptedExceptionException
-
bambooImport
Description copied from interface:ImportExportManagerExecute first phase of import. All non-OSGI mappers are executed. Note that- Specified by:
bambooImportin interfaceImportExportManager- Parameters:
path- String path of file to import- Throws:
InterruptedExceptionException
-
bambooOsgiDependentImport
Description copied from interface:ImportExportManagerExecute second phase of import. Only OSGI mappers are executed.- Specified by:
bambooOsgiDependentImportin interfaceImportExportManager- Parameters:
path- String path of file to import- Throws:
Exception
-
bambooImport
Description copied from interface:ImportExportManagerControls Bamboo Import- Specified by:
bambooImportin interfaceImportExportManager- Parameters:
path- String path of file to importclearArtifacts- artifact directory is erased prior the import iff true- Throws:
InterruptedExceptionException
-
validateImport
Description copied from interface:ImportExportManagerValidates Bamboo import file- Specified by:
validateImportin interfaceImportExportManager- Parameters:
path- String path of file to import- Throws:
Exception- when import file is not valid
-
resetGenerators
public void resetGenerators()- Specified by:
resetGeneratorsin interfaceImportExportManager
-