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 TypeMethodDescriptionvoid
addToWatch
(String path) void
installAndWatch
(String path) void
readWatchList
(byte[] content) void
readWatchList
(String path) void
removeFromWatch
(String path) void
setAppToken
(String appToken) void
void
-
Constructor Details
-
DefaultQuickReloadService
public DefaultQuickReloadService(@ComponentImport ApplicationSettings applicationSettings, @ComponentImport TaskManager taskManager)
-
-
Method Details
-
startWatching
public void startWatching()- Specified by:
startWatching
in interfaceQuickReloadService
-
stopWatching
public void stopWatching()- Specified by:
stopWatching
in interfaceQuickReloadService
-
addToWatch
- Specified by:
addToWatch
in interfaceQuickReloadService
-
installAndWatch
- Specified by:
installAndWatch
in interfaceQuickReloadService
-
removeFromWatch
- Specified by:
removeFromWatch
in interfaceQuickReloadService
-
readWatchList
- Specified by:
readWatchList
in interfaceQuickReloadService
- Throws:
IOException
-
readWatchList
public void readWatchList(byte[] content) - Specified by:
readWatchList
in interfaceQuickReloadService
-
getWatchList
- Specified by:
getWatchList
in interfaceQuickReloadService
-
setAppToken
-