Class QuarkusUpdateCommand


  • public class QuarkusUpdateCommand
    extends Object
    • Field Detail

      • ADDITIONAL_SOURCE_FILES_SET

        public static Set<String> ADDITIONAL_SOURCE_FILES_SET
      • ADDITIONAL_SOURCE_FILES

        public static String ADDITIONAL_SOURCE_FILES
    • Constructor Detail

      • QuarkusUpdateCommand

        public QuarkusUpdateCommand()
    • Method Detail

      • goal

        public static String goal​(boolean dryRun)
      • handle

        public static void handle​(io.quarkus.devtools.messagewriter.MessageWriter log,
                                  BuildTool buildTool,
                                  Path baseDir,
                                  String rewritePluginVersion,
                                  String recipesGAV,
                                  Path recipe,
                                  boolean dryRun)
      • searchPath

        public static Path searchPath​(String cmd)
        Searches the locations defined by PATH for the given executable
        Parameters:
        cmd - The name of the executable to look for
        Returns:
        A Path to the executable, if found, null otherwise
      • searchPath

        public static Path searchPath​(String cmd,
                                      String paths)
        Searches the locations defined by `paths` for the given executable
        Parameters:
        cmd - The name of the executable to look for
        paths - A string containing the paths to search
        Returns:
        A Path to the executable, if found, null otherwise
      • isWindows

        public static boolean isWindows()