com.atlassian.bamboo.migration
Interface ImportExportManager

All Known Implementing Classes:
ImportExportManagerImpl

public interface ImportExportManager

Controls the import and export tasks for Bamboo


Method Summary
 void bambooExport(ExportDetailsBean exportDetails)
          Controls Bamboo Export
 void bambooImport(java.lang.String path)
          Controls Bamboo Import
 void bambooImport(java.lang.String path, boolean clearArtifacts)
          Controls Bamboo Import
 java.lang.String planExport(Plan plan)
          Returns XML representation of a Plan and its Project
 void validateImport(java.lang.String path)
          Validates Bamboo import file
 

Method Detail

bambooExport

void bambooExport(ExportDetailsBean exportDetails)
                  throws java.lang.Exception
Controls Bamboo Export

Parameters:
exportDetails - Bean containing configurations details for the export
Throws:
java.lang.InterruptedException
java.lang.Exception

bambooImport

void bambooImport(java.lang.String path)
                  throws java.lang.Exception
Controls Bamboo Import

Parameters:
path - String path of file to import
Throws:
java.lang.InterruptedException
java.lang.Exception

bambooImport

void bambooImport(java.lang.String path,
                  boolean clearArtifacts)
                  throws java.lang.Exception
Controls Bamboo Import

Parameters:
path - String path of file to import
clearArtifacts - artifact directory is erased prior the import iff true
Throws:
java.lang.InterruptedException
java.lang.Exception

validateImport

void validateImport(java.lang.String path)
                    throws java.lang.Exception
Validates Bamboo import file

Parameters:
path - String path of file to import
Throws:
java.lang.Exception - when import file is not valid

planExport

java.lang.String planExport(Plan plan)
                            throws java.lang.Exception
Returns XML representation of a Plan and its Project

Parameters:
plan -
Returns:
Throws:
java.lang.Exception


Copyright © 2011 Atlassian. All Rights Reserved.