Interface HotSwapFilesModificationsWatcher

All Superinterfaces:
ServerStartedListener
All Known Implementing Classes:
HotSwapFilesModificationsWatcherDefault

public interface HotSwapFilesModificationsWatcher extends ServerStartedListener
  • Method Details

    • 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.