public class OperationProgressEventArgs extends BaseIndexEventArgs
Learn more
Modifier | Constructor and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
protected static OperationProgressEventArgs |
create(com.aspose.ms.System.Guid indexId,
String indexFolder,
IndexStatus status,
int totalDocumentsCount,
int processedDocumentsCount,
int skippedDocumentsCount,
String lastDocumentKey,
String lastDocumentPath,
DocumentStatus lastDocumentStatus) |
String |
getLastDocumentKey()
Gets the key of the last processed document.
|
String |
getLastDocumentPath()
Gets the path of the last processed document.
|
DocumentStatus |
getLastDocumentStatus()
Gets the status of the last processed document.
|
int |
getProcessedDocuments()
Gets the number of successfully processed documents.
|
double |
getProgressPercentage()
Gets the percentage of the progress.
|
int |
getSkippedDocuments()
Gets the number of skipped documents.
|
int |
getTotalDocuments()
Gets the total number of documents for processing.
|
create, getIndexFolder, getIndexId, getStatus, getTime
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.
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.public final int getTotalDocuments()
Gets the total number of documents for processing.
public final int getProcessedDocuments()
Gets the number of successfully processed documents.
public final int getSkippedDocuments()
Gets the number of skipped documents.
public final double getProgressPercentage()
Gets the percentage of the progress.
public final String getLastDocumentKey()
Gets the key of the last processed document.
public final String getLastDocumentPath()
Gets the path of the last processed document.
public final DocumentStatus getLastDocumentStatus()
Gets the status of the last processed document.
protected static OperationProgressEventArgs create(com.aspose.ms.System.Guid indexId, String indexFolder, IndexStatus status, int totalDocumentsCount, int processedDocumentsCount, int skippedDocumentsCount, String lastDocumentKey, String lastDocumentPath, DocumentStatus lastDocumentStatus)