public interface DirectoryListener
Modifier and Type | Method and Description |
---|---|
void |
entryAdded(AddOperationContext addContext)
Called when an entry has been added.
|
void |
entryDeleted(DeleteOperationContext deleteContext)
Called when an entry has been deleted.
|
void |
entryModified(ModifyOperationContext modifyContext)
Called when an entry has been modified.
|
void |
entryMoved(MoveOperationContext moveContext)
Called when an entry is moved.
|
void |
entryMovedAndRenamed(MoveAndRenameOperationContext moveAndRenameContext)
Called when an entry is moved and renamed at the same time.
|
void |
entryRenamed(RenameOperationContext renameContext)
Called when an entry has been renamed.
|
boolean |
isSynchronous()
indicates if this listener needs to be invoked synchronously
|
void entryAdded(AddOperationContext addContext)
addContext
- the add operation context responsible for the changevoid entryDeleted(DeleteOperationContext deleteContext)
deleteContext
- the delete operation context responsible for the changevoid entryModified(ModifyOperationContext modifyContext)
modifyContext
- the modify operation context responsible for the changevoid entryRenamed(RenameOperationContext renameContext)
renameContext
- the rename operation context responsible for the changevoid entryMoved(MoveOperationContext moveContext)
moveContext
- the move operation context responsible for the changevoid entryMovedAndRenamed(MoveAndRenameOperationContext moveAndRenameContext)
moveAndRenameContext
- the move/rename operation context responsible for the changeboolean isSynchronous()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.