Package com.jalios.jcms.lessCompiler
Class LessFileWatcher
- java.lang.Object
-
- java.lang.Thread
-
- com.jalios.jcms.lessCompiler.AbstractFileWatcher
-
- com.jalios.jcms.lessCompiler.LessFileWatcher
-
- All Implemented Interfaces:
java.lang.Runnable
public class LessFileWatcher extends AbstractFileWatcher
-
-
Constructor Summary
Constructors Constructor Description LessFileWatcher(LessCssCompiler compiler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoOnCreate(java.nio.file.WatchEvent<java.nio.file.Path> event, java.nio.file.Path dir)protected voiddoOnDelete(java.nio.file.WatchEvent<java.nio.file.Path> event, java.nio.file.Path dir)protected voiddoOnModify(java.nio.file.WatchEvent<java.nio.file.Path> event, java.nio.file.Path dir)voidregisterFileWatchingInfos(java.nio.file.Path inputPath, java.nio.file.Path outputPath)voidrun()voidshowNotification(java.util.List<LoggingMessage> msgList)-
Methods inherited from class com.jalios.jcms.lessCompiler.AbstractFileWatcher
isStopped, setWatchingDirectories, stopThread
-
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
-
-
-
-
Constructor Detail
-
LessFileWatcher
public LessFileWatcher(LessCssCompiler compiler)
-
-
Method Detail
-
registerFileWatchingInfos
public void registerFileWatchingInfos(java.nio.file.Path inputPath, java.nio.file.Path outputPath)
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable- Overrides:
runin classAbstractFileWatcher
-
doOnDelete
protected void doOnDelete(java.nio.file.WatchEvent<java.nio.file.Path> event, java.nio.file.Path dir)- Specified by:
doOnDeletein classAbstractFileWatcher
-
doOnCreate
protected void doOnCreate(java.nio.file.WatchEvent<java.nio.file.Path> event, java.nio.file.Path dir)- Specified by:
doOnCreatein classAbstractFileWatcher
-
doOnModify
protected void doOnModify(java.nio.file.WatchEvent<java.nio.file.Path> event, java.nio.file.Path dir)- Specified by:
doOnModifyin classAbstractFileWatcher
-
showNotification
public void showNotification(java.util.List<LoggingMessage> msgList)
-
-