public class ImportExportManagerImpl extends Object implements ImportExportManager
Constructor and Description |
---|
ImportExportManagerImpl(DeletionService deletionService,
XmlMigrator xmlMigrator,
com.opensymphony.xwork2.TextProvider textProvider,
AdminErrorHandler adminErrorHandler,
DummyResultsSummaryCache dummyResultsSummaryCache,
ImmutablePlanCacheService immutablePlanCacheService,
ServerLifecycleManager serverLifecycleManager,
org.hibernate.SessionFactory sessionFactory) |
Modifier and Type | Method and Description |
---|---|
void |
bambooExport(ExportDetailsBean exportDetails)
Controls Bamboo Export
|
void |
bambooImport(String path)
Execute first phase of import.
|
void |
bambooImport(String path,
boolean clearArtifacts)
Controls Bamboo Import
|
void |
bambooOsgiDependentImport(String path)
Execute second phase of import.
|
void |
resetGenerators() |
void |
validateImport(String path)
Validates Bamboo import file
|
public ImportExportManagerImpl(DeletionService deletionService, XmlMigrator xmlMigrator, com.opensymphony.xwork2.TextProvider textProvider, AdminErrorHandler adminErrorHandler, DummyResultsSummaryCache dummyResultsSummaryCache, ImmutablePlanCacheService immutablePlanCacheService, ServerLifecycleManager serverLifecycleManager, org.hibernate.SessionFactory sessionFactory)
public void bambooExport(ExportDetailsBean exportDetails) throws Exception
ImportExportManager
bambooExport
in interface ImportExportManager
exportDetails
- ExportDetailsBean containing any information required to do the exportInterruptedException
Exception
public void bambooImport(String path) throws Exception
ImportExportManager
bambooImport
in interface ImportExportManager
path
- String path of file to importInterruptedException
Exception
public void bambooOsgiDependentImport(String path) throws Exception
ImportExportManager
bambooOsgiDependentImport
in interface ImportExportManager
path
- String path of file to importException
public void bambooImport(String path, boolean clearArtifacts) throws Exception
ImportExportManager
bambooImport
in interface ImportExportManager
path
- String path of file to importclearArtifacts
- artifact directory is erased prior the import iff trueInterruptedException
Exception
public void validateImport(String path) throws Exception
ImportExportManager
validateImport
in interface ImportExportManager
path
- String path of file to importException
- when import file is not validpublic void resetGenerators()
resetGenerators
in interface ImportExportManager
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.