Class LessFileWatcher

  • All Implemented Interfaces:
    java.lang.Runnable

    public class LessFileWatcher
    extends AbstractFileWatcher
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Thread

        java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
    • Field Summary

      • Fields inherited from class java.lang.Thread

        MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doOnCreate​(java.nio.file.WatchEvent<java.nio.file.Path> event, java.nio.file.Path dir)  
      protected void doOnDelete​(java.nio.file.WatchEvent<java.nio.file.Path> event, java.nio.file.Path dir)  
      protected void doOnModify​(java.nio.file.WatchEvent<java.nio.file.Path> event, java.nio.file.Path dir)  
      void registerFileWatchingInfos​(java.nio.file.Path inputPath, java.nio.file.Path outputPath)  
      void run()  
      void showNotification​(java.util.List<LoggingMessage> msgList)  
      • Methods inherited from class java.lang.Thread

        activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • registerFileWatchingInfos

        public void registerFileWatchingInfos​(java.nio.file.Path inputPath,
                                              java.nio.file.Path outputPath)
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
        Overrides:
        run in class AbstractFileWatcher
      • doOnDelete

        protected void doOnDelete​(java.nio.file.WatchEvent<java.nio.file.Path> event,
                                  java.nio.file.Path dir)
        Specified by:
        doOnDelete in class AbstractFileWatcher
      • doOnCreate

        protected void doOnCreate​(java.nio.file.WatchEvent<java.nio.file.Path> event,
                                  java.nio.file.Path dir)
        Specified by:
        doOnCreate in class AbstractFileWatcher
      • doOnModify

        protected void doOnModify​(java.nio.file.WatchEvent<java.nio.file.Path> event,
                                  java.nio.file.Path dir)
        Specified by:
        doOnModify in class AbstractFileWatcher
      • showNotification

        public void showNotification​(java.util.List<LoggingMessage> msgList)