Directory Event Adapter

public interface DirectoryEventAdapter implements DirectoryEventListener

This interface provides noop implementations to handle different kind of directory events. You can use this class if you want to listen to specific kinds of events without implementing the check for the type

Functions

Link copied to clipboard
public Unit handle(DirectoryEvent directoryEvent)

Handles any directory event from the source the listener is registered at.

Link copied to clipboard
public Unit onCreate(DirectoryEvent directoryEvent)

Handles create events from the source the listener is registered at.

Link copied to clipboard
public Unit onDelete(DirectoryEvent directoryEvent)

Handles delete events from the source the listener is registered at.

Link copied to clipboard
public Unit onModify(DirectoryEvent directoryEvent)

Handles modify events from the source the listener is registered at.