Package com.atlassian.bamboo.migration
Interface ImportExportManager
-
- All Known Implementing Classes:
ImportExportManagerImpl
public interface ImportExportManagerControls the import and export tasks for Bamboo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbambooExport(ExportDetailsBean exportDetails)Controls Bamboo ExportvoidbambooImport(String path)Execute first phase of import.voidbambooImport(String path, boolean clearArtifacts)Controls Bamboo ImportvoidbambooOsgiDependentImport(String path)Execute second phase of import.voidresetGenerators()voidvalidateImport(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:
InterruptedExceptionException
-
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:
InterruptedExceptionException
-
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:
InterruptedExceptionException
-
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()
-
-