public class RuntimeUpdatesProcessor extends Object implements HotReplacementContext
| Constructor and Description |
|---|
RuntimeUpdatesProcessor(DevModeContext context,
ClassLoaderCompiler compiler,
DevModeMain devModeMain) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHotReplacementSetup(HotReplacementSetup service) |
void |
addPreScanStep(Runnable runnable) |
(package private) boolean |
checkForChangedClasses() |
(package private) Set<String> |
checkForFileChange() |
void |
consumeNoRestartChanges(Consumer<Set<String>> consumer) |
boolean |
doScan(boolean userInitiated) |
Path |
getClassesDir() |
Throwable |
getDeploymentProblem() |
List<Path> |
getResourcesDir() |
List<Path> |
getSourcesDir() |
boolean |
isTest() |
RuntimeUpdatesProcessor |
setWatchedFilePaths(Map<String,Boolean> watchedFilePaths) |
void |
startupFailed() |
public RuntimeUpdatesProcessor(DevModeContext context, ClassLoaderCompiler compiler, DevModeMain devModeMain)
public Path getClassesDir()
getClassesDir in interface HotReplacementContextpublic List<Path> getSourcesDir()
getSourcesDir in interface HotReplacementContextpublic List<Path> getResourcesDir()
getResourcesDir in interface HotReplacementContextpublic Throwable getDeploymentProblem()
getDeploymentProblem in interface HotReplacementContextpublic boolean isTest()
isTest in interface HotReplacementContextpublic boolean doScan(boolean userInitiated)
throws IOException
doScan in interface HotReplacementContextIOExceptionpublic void addPreScanStep(Runnable runnable)
addPreScanStep in interface HotReplacementContextpublic void consumeNoRestartChanges(Consumer<Set<String>> consumer)
consumeNoRestartChanges in interface HotReplacementContextboolean checkForChangedClasses()
throws IOException
IOExceptionpublic RuntimeUpdatesProcessor setWatchedFilePaths(Map<String,Boolean> watchedFilePaths)
public void addHotReplacementSetup(HotReplacementSetup service)
public void startupFailed()
Copyright © 2020 JBoss by Red Hat. All rights reserved.