Class HotDeploymentWatchedFileBuildItem


  • public final class HotDeploymentWatchedFileBuildItem
    extends MultiBuildItem
    A file that if modified may result in a hot redeployment when in the dev mode.
    • Constructor Detail

      • HotDeploymentWatchedFileBuildItem

        public HotDeploymentWatchedFileBuildItem​(String location)
      • HotDeploymentWatchedFileBuildItem

        public HotDeploymentWatchedFileBuildItem​(String location,
                                                 boolean restartNeeded)
    • Method Detail

      • getLocation

        public String getLocation()
      • isRestartNeeded

        public boolean isRestartNeeded()
        Returns:
        true if a file change should result in an application restart, false otherwise