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
Method Summary |
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. |
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(org.pentaho.di.core.ProgressMonitorListener monitor,
String xmlFilename,
org.pentaho.di.repository.RepositoryDirectoryInterface root,
String exportType)
throws org.pentaho.di.core.exception.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:
org.pentaho.di.core.exception.KettleException