org.pentaho.di.repository
Interface IRepositoryExporter

All Known Implementing Classes:
RepositoryExporter

public interface IRepositoryExporter

Handles exporting a repository.

Author:
jganoff

Method Summary
 void exportAllObjects(ProgressMonitorListener monitor, String xmlFilename, 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.
 

Method Detail

exportAllObjects

void exportAllObjects(ProgressMonitorListener monitor,
                      String xmlFilename,
                      RepositoryDirectoryInterface root,
                      String exportType)
                      throws 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:
KettleException

setImportRulesToValidate

void setImportRulesToValidate(ImportRules importRules)
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.