public.javadoc.org.spincast.plugins.hotswap.fileswatcher.HotSwapFilesModificationsWatcher.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
HotSwapFilesModificationsWatcher (org.spincast:spincast-framework 1.0.0 API)
org.spincast.plugins.hotswap.fileswatcher
Interface HotSwapFilesModificationsWatcher
-
- All Superinterfaces:
- ServerStartedListener
- All Known Implementing Classes:
- HotSwapFilesModificationsWatcherDefault
public interface HotSwapFilesModificationsWatcher
extends ServerStartedListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type
Method and Description
void
registerListener(HotSwapFilesModificationsListener listener)
Add a new listener for modifications to file(s)
to watch.
void
removeAllListeners()
Removes all listeners.
void
removeListener(HotSwapFilesModificationsListener listener)
Removes a file modifications listener.
void
stopWatching()
Stops the files watching completly.
-
Methods inherited from interface org.spincast.core.server.ServerStartedListener
serverStartedSuccessfully
-
-
Method Detail
-
registerListener
void registerListener(HotSwapFilesModificationsListener listener)
Add a new listener for modifications to file(s)
to watch.
More than one listeners can be added for the same files!
-
removeListener
void removeListener(HotSwapFilesModificationsListener listener)
Removes a file modifications listener.
-
removeAllListeners
void removeAllListeners()
Removes all listeners.
-
stopWatching
void stopWatching()
Stops the files watching completly.
Can't be restarted.
Copyright © 2019. All rights reserved.