public class RepositoryExporter extends Object implements IRepositoryExporter
| Constructor and Description |
|---|
RepositoryExporter(Repository repository) |
| Modifier and Type | Method and Description |
|---|---|
void |
exportAllObjects(org.pentaho.di.core.ProgressMonitorListener monitor,
String xmlFilename,
org.pentaho.di.repository.RepositoryDirectoryInterface root,
String exportType)
Export objects of a repository.
|
void |
setImportRulesToValidate(ImportRules importRules)
Pass a set of import rules to the exporter to validate against during the export.
|
public RepositoryExporter(Repository repository)
repository - public void setImportRulesToValidate(ImportRules importRules)
IRepositoryExportersetImportRulesToValidate in interface IRepositoryExporterimportRules - The import rules to adhere to during export.public void exportAllObjects(org.pentaho.di.core.ProgressMonitorListener monitor,
String xmlFilename,
org.pentaho.di.repository.RepositoryDirectoryInterface root,
String exportType)
throws org.pentaho.di.core.exception.KettleException
IRepositoryExporterexportAllObjects in interface IRepositoryExportermonitor - Progress Monitor for providing feedback during the export process.xmlFilename - Filename to write out to.root - Root directory to start export from.exportType - Type of objects to export: "all", "trans", "job"org.pentaho.di.core.exception.KettleException