public class CollectionIndexingObserver 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 |
|---|
CollectionIndexingObserver(java.lang.String collectionKey,
CollectionRegistry collectionRegistry,
RepositoryManager rm)
Constructor for the CollectionIndexingObserver 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 CollectionIndexingObserver(java.lang.String collectionKey,
CollectionRegistry collectionRegistry,
RepositoryManager rm)
collectionRegistry - the collectionRegistry (contains IDGenerators)rm - the repositoryManagerpublic void indexingCompleted(int status,
java.lang.String message)
indexingCompleted in interface FileIndexingObserverstatus - status code returned by indexermessage - indexing messageprotected static final java.lang.String getDateStamp()
public static void setDebug(boolean db)
db - The new debug value