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 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 name
        root - - repository to export from
        exportType - - 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: