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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
bambooExport(ExportDetailsBean exportDetails)
Controls Bamboo Exportvoid
bambooImport(String path)
Execute first phase of import.void
bambooImport(String path, boolean clearArtifacts)
Controls Bamboo Importvoid
bambooOsgiDependentImport(String path)
Execute second phase of import.void
resetGenerators()
void
validateImport(String path)
Validates Bamboo import file
-
-
-
Method Detail
-
bambooExport
void bambooExport(ExportDetailsBean exportDetails) throws Exception
Controls Bamboo Export- Parameters:
exportDetails
- Bean containing configurations details for the export- Throws:
InterruptedException
Exception
-
bambooImport
void bambooImport(String path) throws Exception
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
void bambooOsgiDependentImport(String path) throws Exception
Execute second phase of import. Only OSGI mappers are executed.- Parameters:
path
- String path of file to import- Throws:
Exception
-
bambooImport
void bambooImport(String path, boolean clearArtifacts) throws Exception
Controls Bamboo Import- Parameters:
path
- String path of file to importclearArtifacts
- artifact directory is erased prior the import iff true- Throws:
InterruptedException
Exception
-
validateImport
void validateImport(String path) throws Exception
Validates Bamboo import file- Parameters:
path
- String path of file to import- Throws:
Exception
- when import file is not valid
-
resetGenerators
void resetGenerators()
-
-