Class DefaultQuickReloadService
java.lang.Object
eu.rarogsoftware.rarog.platform.plugins.quickreload.DefaultQuickReloadService
- All Implemented Interfaces:
QuickReloadService
@Component
@ExportComponent
public class DefaultQuickReloadService
extends Object
implements QuickReloadService
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final class -
Constructor Summary
ConstructorsConstructorDescriptionDefaultQuickReloadService(ApplicationSettings applicationSettings, TaskManager taskManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToWatch(String path) voidinstallAndWatch(String path) voidreadWatchList(byte[] content) voidreadWatchList(String path) voidremoveFromWatch(String path) voidsetAppToken(String appToken) voidvoid
-
Constructor Details
-
DefaultQuickReloadService
public DefaultQuickReloadService(@ComponentImport ApplicationSettings applicationSettings, @ComponentImport TaskManager taskManager)
-
-
Method Details
-
startWatching
public void startWatching()- Specified by:
startWatchingin interfaceQuickReloadService
-
stopWatching
public void stopWatching()- Specified by:
stopWatchingin interfaceQuickReloadService
-
addToWatch
- Specified by:
addToWatchin interfaceQuickReloadService
-
installAndWatch
- Specified by:
installAndWatchin interfaceQuickReloadService
-
removeFromWatch
- Specified by:
removeFromWatchin interfaceQuickReloadService
-
readWatchList
- Specified by:
readWatchListin interfaceQuickReloadService- Throws:
IOException
-
readWatchList
public void readWatchList(byte[] content) - Specified by:
readWatchListin interfaceQuickReloadService
-
getWatchList
- Specified by:
getWatchListin interfaceQuickReloadService
-
setAppToken
-