Interface ProjectIndexerProgressMonitor
@API(type=EXTENDABLE,
src=PUBLIC)
public interface ProjectIndexerProgressMonitor
Listener for indexing progress events.
- Since:
- 24.1
-
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()Event sent when the re-index process was cancelled.voidEvent sent when the re-index process finished.booleanProbing the implementation to check if the indexing should stop.voidEvent sent when the re-index process has begun.voidupdateDetailsMessage(String detailsMessage) Event that signals the status of the indexer has changed.voidupdateIndexedResourcesCount(int count) Event that signals the number of indexed resources has increased.
-
Method Details
-
startIndexing
void startIndexing()Event sent when the re-index process has begun. -
endIndexing
void endIndexing()Event sent when the re-index process finished. -
cancel
void cancel()Event sent when the re-index process was cancelled. -
updateDetailsMessage
Event that signals the status of the indexer has changed.- Parameters:
detailsMessage- The message that show the state of the indexer.
-
updateIndexedResourcesCount
void updateIndexedResourcesCount(int count) Event that signals the number of indexed resources has increased. Emmited between astartIndexing()and aendIndexing().- Parameters:
count- The new count.
-
isCanceled
boolean isCanceled()Probing the implementation to check if the indexing should stop.- Returns:
- true if the indexing operation was canceled by the user and it should stop.
-