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)
IRepositoryExporter
setImportRulesToValidate
in interface IRepositoryExporter
importRules
- 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
IRepositoryExporter
exportAllObjects
in interface IRepositoryExporter
monitor
- 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