Package com.atlassian.bamboo.migration
Interface ImportExportManager
- All Known Implementing Classes:
ImportExportManagerImpl
public interface ImportExportManager
Controls the import and export tasks for Bamboo
-
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
-
Method Details
-
bambooExport
Controls Bamboo Export- Parameters:
exportDetails
- Bean containing configurations details for the export- Throws:
InterruptedException
Exception
-
bambooImport
Execute first phase of import. All non-OSGI mappers are executed. Note that- Parameters:
path
- String path of file to import- Throws:
InterruptedException
Exception
-
bambooOsgiDependentImport
Execute second phase of import. Only OSGI mappers are executed.- Parameters:
path
- String path of file to import- Throws:
Exception
-
bambooImport
Controls Bamboo Import- Parameters:
path
- String path of file to importclearArtifacts
- artifact directory is erased prior the import iff true- Throws:
InterruptedException
Exception
-
validateImport
Validates Bamboo import file- Parameters:
path
- String path of file to import- Throws:
Exception
- when import file is not valid
-
resetGenerators
void resetGenerators()
-