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 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
-
Method Details
-
bambooExport
Controls Bamboo Export- Parameters:
exportDetails- Bean containing configurations details for the export- Throws:
InterruptedExceptionException
-
bambooImport
Execute first phase of import. All non-OSGI mappers are executed. Note that- Parameters:
path- String path of file to import- Throws:
InterruptedExceptionException
-
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:
InterruptedExceptionException
-
validateImport
Validates Bamboo import file- Parameters:
path- String path of file to import- Throws:
Exception- when import file is not valid
-
resetGenerators
void resetGenerators()
-