org.pentaho.di.repository
Class RepositoryExporter
java.lang.Object
org.pentaho.di.repository.RepositoryExporter
- All Implemented Interfaces:
- IRepositoryExporter
public class RepositoryExporter
- extends Object
- implements IRepositoryExporter
RepositoryExporter
public RepositoryExporter(Repository repository)
- Parameters:
repository
-
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