Package org.pentaho.di.repository
Interface IRepositoryExporter
- All Known Subinterfaces:
IRepositoryExporterFeedback
- All Known Implementing Classes:
RepositoryExporter
public interface IRepositoryExporter
Handles exporting a repository.
- Author:
- jganoff
-
Method Summary
Modifier and TypeMethodDescriptionvoidexportAllObjects(org.pentaho.di.core.ProgressMonitorListener monitor, String xmlFilename, org.pentaho.di.repository.RepositoryDirectoryInterface root, String exportType) Export objects of a repository.voidsetImportRulesToValidate(ImportRules importRules) Pass a set of import rules to the exporter to validate against during the export.
-
Method Details
-
exportAllObjects
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 Export objects of a repository.- Parameters:
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"- Throws:
org.pentaho.di.core.exception.KettleException
-
setImportRulesToValidate
Pass a set of import rules to the exporter to validate against during the export. This will allow a user to make sure that the export transformations can be imported with the given set of rules.- Parameters:
importRules- The import rules to adhere to during export.
-