Package io.quarkus.deployment.builditem
Class HotDeploymentWatchedFileBuildItem
- java.lang.Object
-
- io.quarkus.builder.item.BuildItem
-
- io.quarkus.builder.item.MultiBuildItem
-
- io.quarkus.deployment.builditem.HotDeploymentWatchedFileBuildItem
-
public final class HotDeploymentWatchedFileBuildItem extends MultiBuildItem
A file that if modified may result in a hot redeployment when in the dev mode.
-
-
Constructor Summary
Constructors Constructor Description HotDeploymentWatchedFileBuildItem(String location)
HotDeploymentWatchedFileBuildItem(String location, boolean restartNeeded)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLocation()
boolean
isRestartNeeded()
-
-
-
Method Detail
-
getLocation
public String getLocation()
-
isRestartNeeded
public boolean isRestartNeeded()
- Returns:
true
if a file change should result in an application restart,false
otherwise
-
-