|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjetbrains.buildServer.configuration.ChangeObserver
jetbrains.buildServer.configuration.FileWatcher
public class FileWatcher
Watches for changes in one file.
| Constructor Summary | |
|---|---|
FileWatcher(java.io.File file)
|
|
| Method Summary | |
|---|---|
boolean |
changesDetected()
Returns true if changes in file detected |
java.io.File |
getFile()
|
java.lang.String |
getRequestor()
Returns (short) string representation of this change source |
void |
resetChanged()
Call to reset changes status |
| Methods inherited from class jetbrains.buildServer.configuration.ChangeObserver |
|---|
checkForModifications, clear, getSleepingPeriod, registerChangeProvider, registerListener, runActionWithDisabledObserver, setSkipListenersNotification, setSleepingPeriod, shutdownAll, start, stop, unregisterChangeProvider, unregisterListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileWatcher(java.io.File file)
file - file to watch changes in. May denote a directory as well, its lastModified attribute will be monitored for the change| Method Detail |
|---|
public boolean changesDetected()
changesDetected in interface ChangeProviderChangeProvider.resetChanged()public void resetChanged()
resetChanged in interface ChangeProviderpublic java.lang.String getRequestor()
ChangeProvider
getRequestor in interface ChangeProviderpublic java.io.File getFile()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||