public class NoopDirectoryMonitorManager extends Object implements DirectoryMonitorManager
Constructor and Description |
---|
NoopDirectoryMonitorManager() |
Modifier and Type | Method and Description |
---|---|
void |
addMonitor(RemoteDirectory remoteDirectory)
Adds a monitor to a particular directory.
|
boolean |
hasMonitor(long directoryID)
Determines whether a directory is currently being monitored.
|
boolean |
removeMonitor(long directoryID)
Removes a monitor from a monitored directory.
|
public void addMonitor(RemoteDirectory remoteDirectory)
DirectoryMonitorManager
addMonitor
in interface DirectoryMonitorManager
remoteDirectory
- directory to monitor.public boolean removeMonitor(long directoryID)
DirectoryMonitorManager
removeMonitor
in interface DirectoryMonitorManager
directoryID
- directory ID.true
if a monitor was removed.public boolean hasMonitor(long directoryID)
DirectoryMonitorManager
hasMonitor
in interface DirectoryMonitorManager
directoryID
- directory ID.true
if an only if the directory is being monitored.Copyright © 2021 Atlassian. All rights reserved.