Class HotDeploymentWatchedFileBuildItem

    • Constructor Detail

      • HotDeploymentWatchedFileBuildItem

        public HotDeploymentWatchedFileBuildItem​(String location)
        Parameters:
        location -
        See Also:
        builder()
      • HotDeploymentWatchedFileBuildItem

        public HotDeploymentWatchedFileBuildItem​(String location,
                                                 boolean restartNeeded)
        Parameters:
        location -
        restartNeeded -
        See Also:
        builder()
    • Method Detail

      • getLocation

        public String getLocation()
        Returns:
        a location a file from a reloadable module
      • hasLocation

        public boolean hasLocation()
      • getLocationPredicate

        public Predicate<String> getLocationPredicate()
        Returns:
        a predicate used to match a file from a reloadable module
      • hasLocationPredicate

        public boolean hasLocationPredicate()
      • isRestartNeeded

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