Class QuarkusUpdateCommand

java.lang.Object
io.quarkus.devtools.project.update.rewrite.QuarkusUpdateCommand

public class QuarkusUpdateCommand extends Object
  • Field Details

    • MAVEN_REWRITE_PLUGIN_GROUP

      public static final String MAVEN_REWRITE_PLUGIN_GROUP
      See Also:
    • MAVEN_REWRITE_PLUGIN_ARTIFACT

      public static final String MAVEN_REWRITE_PLUGIN_ARTIFACT
      See Also:
    • ADDITIONAL_SOURCE_FILES_SET

      public static Set<String> ADDITIONAL_SOURCE_FILES_SET
    • ADDITIONAL_SOURCE_FILES

      public static String ADDITIONAL_SOURCE_FILES
  • Constructor Details

    • QuarkusUpdateCommand

      public QuarkusUpdateCommand()
  • Method Details

    • 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, Path logFile, 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()