|
||||||||||
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
Field Summary | |
---|---|
static int |
DEFAULT_SLEEP
|
static int |
DEFAULT_TIMEOUT
|
Constructor Summary | |
---|---|
ImportExportManagerImpl(DeletionService deletionService,
XmlMigrator xmlMigrator,
com.opensymphony.xwork.TextProvider textProvider,
AdminErrorHandler adminErrorHandler,
DummyResultsSummaryCache dummyResultsSummaryCache,
ImmutablePlanCacheService immutablePlanCacheService,
ServerLifecycleManager serverLifecycleManager)
|
Method Summary | |
---|---|
void |
bambooExport(ExportDetailsBean exportDetails)
Controls Bamboo Export |
void |
bambooImport(java.lang.String path)
Execute first phase of import. |
void |
bambooImport(java.lang.String path,
boolean clearArtifacts)
Controls Bamboo Import |
void |
bambooOsgiDependentImport(java.lang.String path)
Execute second phase of import. |
long |
getWaitSleep()
|
long |
getWaitTimeout()
|
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 |
Field Detail |
---|
public static final int DEFAULT_SLEEP
public static final int DEFAULT_TIMEOUT
Constructor Detail |
---|
public ImportExportManagerImpl(DeletionService deletionService, XmlMigrator xmlMigrator, com.opensymphony.xwork.TextProvider textProvider, AdminErrorHandler adminErrorHandler, DummyResultsSummaryCache dummyResultsSummaryCache, ImmutablePlanCacheService immutablePlanCacheService, ServerLifecycleManager serverLifecycleManager)
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 bambooOsgiDependentImport(java.lang.String path) throws java.lang.Exception
ImportExportManager
bambooOsgiDependentImport
in interface ImportExportManager
path
- String path of file to import
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 long getWaitSleep()
public long getWaitTimeout()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |