com.groupdocs.search.events

Class OperationProgressEventArgs

    • Constructor Detail

      • OperationProgressEventArgs

        protected OperationProgressEventArgs(com.aspose.ms.System.Guid indexId,
                                  String indexFolder,
                                  int status,
                                  int totalDocumentsCount,
                                  int processedDocumentsCount,
                                  int skippedDocumentsCount,
                                  String lastDocumentPath,
                                  int 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.
        lastDocumentPath - The last document full path.
        lastDocumentStatus - The last document status.
    • Method Detail

      • getTotalDocuments

        public final int getTotalDocuments()

        Gets the total number of processed documents.

        Returns:
        The total number of processed documents.
      • 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.
      • getLastDocumentPath

        public final String getLastDocumentPath()

        Gets the path of the last processed document.

        Returns:
        The last processed document path.
      • getLastDocumentStatus

        public final int getLastDocumentStatus()

        Gets the status of the last processed document.

        Returns:
        The last processed document status.
      • create

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