public interface HotReplacementContext
| Modifier and Type | Method and Description |
|---|---|
void |
addPreScanStep(Runnable runnable) |
void |
consumeNoRestartChanges(Consumer<Set<String>> consumer)
The consumer is invoked if only files which don't require restart are modified.
|
boolean |
doScan(boolean userInitiated) |
Path |
getClassesDir() |
Throwable |
getDeploymentProblem() |
DevModeType |
getDevModeType()
Will return true if this is the remote side of a remote dev session
|
List<Path> |
getResourcesDir() |
List<Path> |
getSourcesDir() |
boolean |
isTest()
If this is true then this is a dev mode test case, rather than a user actually using Quarkus.
|
void |
setRemoteProblem(Throwable throwable) |
Set<String> |
syncState(Map<String,String> fileHashes) |
void |
updateFile(String file,
byte[] data) |
Path getClassesDir()
Throwable getDeploymentProblem()
void setRemoteProblem(Throwable throwable)
void updateFile(String file, byte[] data)
boolean isTest()
DevModeType getDevModeType()
boolean doScan(boolean userInitiated)
throws Exception
true if a restart was performed, false otherwiseExceptionvoid addPreScanStep(Runnable runnable)
void consumeNoRestartChanges(Consumer<Set<String>> consumer)
consumer - The input is a set of changed file pathsHotDeploymentWatchedFileBuildItem#isRestartNeeded()Copyright © 2020 JBoss by Red Hat. All rights reserved.