Interface HotSwapFilesModificationsWatcher
- All Superinterfaces:
ServerStartedListener
- All Known Implementing Classes:
HotSwapFilesModificationsWatcherDefault
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a new listener for modifications to file(s) to watch.void
Removes all listeners.void
Removes a file modifications listener.void
Stops the files watching completly.Methods inherited from interface org.spincast.core.server.ServerStartedListener
serverStartedSuccessfully
-
Method Details
-
registerListener
Add a new listener for modifications to file(s) to watch.More than one listeners can be added for the same files!
-
removeListener
Removes a file modifications listener. -
removeAllListeners
void removeAllListeners()Removes all listeners. -
stopWatching
void stopWatching()Stops the files watching completly. Can't be restarted.
-