public class SyncSiteWatchEventListener extends BaseWatchEventListener
Constructor and Description |
---|
SyncSiteWatchEventListener(long syncAccountId) |
Modifier and Type | Method and Description |
---|---|
protected void |
addSyncWatchEvent(java.lang.String eventType,
java.nio.file.Path filePath) |
protected java.lang.String |
getFileType(java.lang.String eventType,
java.nio.file.Path filePath) |
protected long |
getRepositoryId(java.nio.file.Path filePath) |
protected boolean |
isDuplicateEvent(java.lang.String eventType,
java.lang.String filePathName,
long syncAccountId) |
void |
watchEvent(java.lang.String eventType,
java.nio.file.Path filePath) |
getSyncAccountId
public void watchEvent(java.lang.String eventType, java.nio.file.Path filePath)
protected void addSyncWatchEvent(java.lang.String eventType, java.nio.file.Path filePath)
protected java.lang.String getFileType(java.lang.String eventType, java.nio.file.Path filePath)
protected long getRepositoryId(java.nio.file.Path filePath)
protected boolean isDuplicateEvent(java.lang.String eventType, java.lang.String filePathName, long syncAccountId)