public class RepositoryIndexingObserver extends java.lang.Object implements FileIndexingObserver
INDEXING_COMPLETED_ABORTED, INDEXING_COMPLETED_DIR_DOES_NOT_EXIST, INDEXING_COMPLETED_DIR_READ_ERROR, INDEXING_COMPLETED_ERROR, INDEXING_COMPLETED_ITEM_ERROR, INDEXING_COMPLETED_SUCCESS
Constructor and Description |
---|
RepositoryIndexingObserver(CollectionRegistry collectionRegistry,
RepositoryManager rm)
Constructor for the RepositoryIndexingObserver object
|
Modifier and Type | Method and Description |
---|---|
protected static java.lang.String |
getDateStamp()
Return a string for the current time and date, sutiable for display in log
files and output to standout:
|
void |
indexingCompleted(int status,
java.lang.String message)
Called when indexing is complete.
|
static void |
setDebug(boolean db)
Sets the debug attribute of the object
|
public RepositoryIndexingObserver(CollectionRegistry collectionRegistry, RepositoryManager rm)
collectionRegistry
- the collectionRegistry (contains IDGenerators)rm
- the repositoryManagerpublic void indexingCompleted(int status, java.lang.String message)
indexingCompleted
in interface FileIndexingObserver
status
- status code returned by indexermessage
- indexing messageprotected static final java.lang.String getDateStamp()
public static void setDebug(boolean db)
db
- The new debug value