public class PentahoPlatformExporter extends ZipExportProcessor
Modifier and Type | Field and Description |
---|---|
static String |
ANALYSIS_PATH_IN_ZIP |
static String |
CONNECTIONS_PATH_IN_ZIP |
static String |
DATA_SOURCES_PATH_IN_ZIP |
static String |
METADATA_PATH_IN_ZIP |
static String |
METASTORE |
static String |
METASTORE_BACKUP_EXT |
static String |
ROOT |
Constructor and Description |
---|
PentahoPlatformExporter(org.pentaho.platform.api.repository2.unified.IUnifiedRepository repository) |
Modifier and Type | Method and Description |
---|---|
org.pentaho.platform.api.repository.datasource.IDatasourceMgmtService |
getDatasourceMgmtService() |
org.pentaho.metadata.repository.IMetadataDomainRepository |
getMetadataDomainRepository() |
MondrianCatalogRepositoryHelper |
getMondrianCatalogRepositoryHelper() |
IMondrianCatalogService |
getMondrianCatalogService() |
org.pentaho.platform.api.scheduler2.IScheduler |
getScheduler() |
org.pentaho.platform.api.usersettings.IUserSettingService |
getUserSettingService() |
File |
performExport() |
File |
performExport(org.pentaho.platform.api.repository2.unified.RepositoryFile exportRepositoryFile)
Performs the export process, returns a zip File object
|
void |
setDatasourceMgmtService(org.pentaho.platform.api.repository.datasource.IDatasourceMgmtService datasourceMgmtService) |
void |
setMetadataDomainRepository(org.pentaho.metadata.repository.IMetadataDomainRepository metadataDomainRepository) |
void |
setMondrianCatalogRepositoryHelper(MondrianCatalogRepositoryHelper mondrianCatalogRepositoryHelper) |
void |
setMondrianCatalogService(IMondrianCatalogService mondrianCatalogService) |
void |
setScheduler(org.pentaho.platform.api.scheduler2.IScheduler scheduler) |
void |
setUserSettingService(org.pentaho.platform.api.usersettings.IUserSettingService userSettingService) |
exportDirectory, exportFile, getExportManifest, getLocaleExportList, setExportManifest, setLocaleExportList
addExportHandler, getPath, getUnifiedRepository, setPath, setUnifiedRepository
public static final String ROOT
public static final String DATA_SOURCES_PATH_IN_ZIP
public static final String METADATA_PATH_IN_ZIP
public static final String ANALYSIS_PATH_IN_ZIP
public static final String CONNECTIONS_PATH_IN_ZIP
public static final String METASTORE
public static final String METASTORE_BACKUP_EXT
public PentahoPlatformExporter(org.pentaho.platform.api.repository2.unified.IUnifiedRepository repository)
public File performExport() throws ExportException, IOException
ExportException
IOException
public File performExport(org.pentaho.platform.api.repository2.unified.RepositoryFile exportRepositoryFile) throws ExportException, IOException
performExport
in class ZipExportProcessor
ExportException
- indicates an error in import processingIOException
public org.pentaho.platform.api.scheduler2.IScheduler getScheduler()
public void setScheduler(org.pentaho.platform.api.scheduler2.IScheduler scheduler)
public org.pentaho.metadata.repository.IMetadataDomainRepository getMetadataDomainRepository()
public void setMetadataDomainRepository(org.pentaho.metadata.repository.IMetadataDomainRepository metadataDomainRepository)
public org.pentaho.platform.api.repository.datasource.IDatasourceMgmtService getDatasourceMgmtService()
public void setDatasourceMgmtService(org.pentaho.platform.api.repository.datasource.IDatasourceMgmtService datasourceMgmtService)
public MondrianCatalogRepositoryHelper getMondrianCatalogRepositoryHelper()
public void setMondrianCatalogRepositoryHelper(MondrianCatalogRepositoryHelper mondrianCatalogRepositoryHelper)
public IMondrianCatalogService getMondrianCatalogService()
public void setMondrianCatalogService(IMondrianCatalogService mondrianCatalogService)
public org.pentaho.platform.api.usersettings.IUserSettingService getUserSettingService()
public void setUserSettingService(org.pentaho.platform.api.usersettings.IUserSettingService userSettingService)