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 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 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:
run
in interfacejava.lang.Runnable
- Overrides:
run
in classAbstractFileWatcher
-
doOnDelete
protected void doOnDelete(java.nio.file.WatchEvent<java.nio.file.Path> event, java.nio.file.Path dir)
- Specified by:
doOnDelete
in classAbstractFileWatcher
-
doOnCreate
protected void doOnCreate(java.nio.file.WatchEvent<java.nio.file.Path> event, java.nio.file.Path dir)
- Specified by:
doOnCreate
in classAbstractFileWatcher
-
doOnModify
protected void doOnModify(java.nio.file.WatchEvent<java.nio.file.Path> event, java.nio.file.Path dir)
- Specified by:
doOnModify
in classAbstractFileWatcher
-
showNotification
public void showNotification(java.util.List<LoggingMessage> msgList)
-
-