com.groupdocs.search.events

Class OperationProgressEventArgs

    • Constructor Detail

      • OperationProgressEventArgs

        protected OperationProgressEventArgs(com.aspose.ms.System.Guid indexId,
                                             String indexFolder,
                                             IndexStatus status,
                                             int totalDocumentsCount,
                                             int processedDocumentsCount,
                                             int skippedDocumentsCount,
                                             String lastDocumentKey,
                                             String lastDocumentPath,
                                             DocumentStatus lastDocumentStatus)

        Initializes a new instance of the OperationProgressEventArgs class.

        Parameters:
        totalDocumentsCount - The total number of documents for processing.
        processedDocumentsCount - The number of already processed documents.
        indexId - The index ID.
        indexFolder - The index folder.
        status - The index status.
        skippedDocumentsCount - The number of skipped or filtered documents.
        lastDocumentKey - The last document key.
        lastDocumentPath - The last document full path.
        lastDocumentStatus - The last document status.
    • Method Detail

      • getTotalDocuments

        public final int getTotalDocuments()

        Gets the total number of documents for processing.

        Returns:
        The total number of documents for processing.
      • getProcessedDocuments

        public final int getProcessedDocuments()

        Gets the number of successfully processed documents.

        Returns:
        The number of successfully processed documents.
      • getSkippedDocuments

        public final int getSkippedDocuments()

        Gets the number of skipped documents.

        Returns:
        The number of skipped documents.
      • getProgressPercentage

        public final double getProgressPercentage()

        Gets the percentage of the progress.

        Returns:
        The percentage of the progress.
      • getLastDocumentKey

        public final String getLastDocumentKey()

        Gets the key of the last processed document.

        Returns:
        The last processed document key.
      • getLastDocumentPath

        public final String getLastDocumentPath()

        Gets the path of the last processed document.

        Returns:
        The last processed document path.
      • getLastDocumentStatus

        public final DocumentStatus getLastDocumentStatus()

        Gets the status of the last processed document.

        Returns:
        The last processed document status.