org.pentaho.di.repository
Class RepositoryExporter

java.lang.Object
  extended by org.pentaho.di.repository.RepositoryExporter
All Implemented Interfaces:
IRepositoryExporter

public class RepositoryExporter
extends Object
implements IRepositoryExporter


Constructor Summary
RepositoryExporter(Repository repository)
           
 
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryExporter

public RepositoryExporter(Repository repository)
Parameters:
repository -
Method Detail

setImportRulesToValidate

public void setImportRulesToValidate(ImportRules importRules)
Description copied from interface: IRepositoryExporter
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.

Specified by:
setImportRulesToValidate in interface IRepositoryExporter
Parameters:
importRules - The import rules to adhere to during export.

exportAllObjects

public void exportAllObjects(ProgressMonitorListener monitor,
                             String xmlFilename,
                             RepositoryDirectoryInterface root,
                             String exportType)
                      throws KettleException
Description copied from interface: IRepositoryExporter
Export objects of a repository.

Specified by:
exportAllObjects in interface IRepositoryExporter
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