Package org.pentaho.di.repository
Interface IRepositoryExporterFeedback
-
- All Superinterfaces:
IRepositoryExporter
- All Known Implementing Classes:
RepositoryExporter
public interface IRepositoryExporterFeedback extends IRepositoryExporter
The only way this interface extends base IRepositoryExporter is to bring new functionality to objects that implements original interface, not to break backward compatibility.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<ExportFeedback>
exportAllObjectsWithFeedback(org.pentaho.di.core.ProgressMonitorListener monitor, String xmlFilename, org.pentaho.di.repository.RepositoryDirectoryInterface root, String exportType)
boolean
isRulesViolation()
Call to this fast-access way to determine that export had rules violations.-
Methods inherited from interface org.pentaho.di.repository.IRepositoryExporter
exportAllObjects, setImportRulesToValidate
-
-
-
-
Method Detail
-
exportAllObjectsWithFeedback
List<ExportFeedback> exportAllObjectsWithFeedback(org.pentaho.di.core.ProgressMonitorListener monitor, String xmlFilename, org.pentaho.di.repository.RepositoryDirectoryInterface root, String exportType) throws org.pentaho.di.core.exception.KettleException
- Parameters:
monitor
- - export monitor.xmlFilename
- - export output file nameroot
- - repository to export fromexportType
- - type of items to export- Returns:
- - list of processed items (Jobs and transformations) with exported statuses. Note - this list is not a list of a really exported objects, but only export report. Some exporters that implements this interface may not create output export file in case of not success exports.
- Throws:
org.pentaho.di.core.exception.KettleException
-
isRulesViolation
boolean isRulesViolation()
Call to this fast-access way to determine that export had rules violations. This avoid full scan of export results for possible failures. If this method returns true - we may be sure that one or more export rules was violated.- Returns:
-
-