Class UpdateProject

java.lang.Object
io.quarkus.devtools.commands.UpdateProject

public class UpdateProject extends Object
Instances of this class are not thread-safe. They are created per single invocation.
  • Field Details

  • Constructor Details

    • UpdateProject

      public UpdateProject(QuarkusProject quarkusProject)
    • UpdateProject

      public UpdateProject(QuarkusProject quarkusProject, io.quarkus.devtools.messagewriter.MessageWriter messageWriter)
  • Method Details

    • targetCatalog

      public UpdateProject targetCatalog(io.quarkus.registry.catalog.ExtensionCatalog latestCatalog)
    • appModel

      public UpdateProject appModel(io.quarkus.bootstrap.model.ApplicationModel applicationModel)
    • rewrite

      public UpdateProject rewrite(boolean rewrite)
    • rewritePluginVersion

      public UpdateProject rewritePluginVersion(String rewritePluginVersion)
    • rewriteQuarkusUpdateRecipes

      public UpdateProject rewriteQuarkusUpdateRecipes(String rewriteQuarkusUpdateRecipes)
    • rewriteAdditionalUpdateRecipes

      public UpdateProject rewriteAdditionalUpdateRecipes(String rewriteAdditionalUpdateRecipes)
    • rewriteDryRun

      public UpdateProject rewriteDryRun(boolean rewriteDryRun)
    • targetPlatformVersion

      public UpdateProject targetPlatformVersion(String targetPlatformVersion)
      This method is not used since currently the version passed in here might not be the final target platform version but the latest recommended w/o taking into account extensions found in the current project.
      Parameters:
      targetPlatformVersion - latest recommended Quarkus platform version
      Returns:
      this instance
    • execute

      Throws:
      QuarkusCommandException