|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.migration.ImportExportManagerImpl
public class ImportExportManagerImpl
Constructor Summary | |
---|---|
ImportExportManagerImpl(DeletionService deletionService,
XmlMigrator xmlMigrator,
com.opensymphony.xwork.TextProvider textProvider,
AdminErrorHandler adminErrorHandler)
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImportExportManagerImpl(DeletionService deletionService, XmlMigrator xmlMigrator, com.opensymphony.xwork.TextProvider textProvider, AdminErrorHandler adminErrorHandler)
Method Detail |
---|
public void bambooExport(ExportDetailsBean exportDetails) throws java.lang.Exception
ImportExportManager
bambooExport
in interface ImportExportManager
exportDetails
- ExportDetailsBean containing any information required to do the export
java.lang.InterruptedException
java.lang.Exception
public void bambooImport(java.lang.String path) throws java.lang.Exception
ImportExportManager
bambooImport
in interface ImportExportManager
path
- String path of file to import
java.lang.InterruptedException
java.lang.Exception
public void bambooImport(java.lang.String path, boolean clearArtifacts) throws java.lang.Exception
ImportExportManager
bambooImport
in interface ImportExportManager
path
- String path of file to importclearArtifacts
- artifact directory is erased prior the import iff true
java.lang.InterruptedException
java.lang.Exception
public void validateImport(java.lang.String path) throws java.lang.Exception
ImportExportManager
validateImport
in interface ImportExportManager
path
- String path of file to import
java.lang.Exception
- when import file is not validpublic java.lang.String planExport(Plan plan) throws java.lang.Exception
ImportExportManager
planExport
in interface ImportExportManager
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |