Package io.quarkus.devtools.commands
Class UpdateProject
java.lang.Object
io.quarkus.devtools.commands.UpdateProject
Instances of this class are not thread-safe. They are created per single invocation.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUpdateProject(QuarkusProject quarkusProject) UpdateProject(QuarkusProject quarkusProject, io.quarkus.devtools.messagewriter.MessageWriter messageWriter) -
Method Summary
Modifier and TypeMethodDescriptionappModel(io.quarkus.bootstrap.model.ApplicationModel applicationModel) execute()rewrite(boolean rewrite) rewriteAdditionalUpdateRecipes(String rewriteAdditionalUpdateRecipes) rewriteDryRun(boolean rewriteDryRun) rewritePluginVersion(String rewritePluginVersion) rewriteQuarkusUpdateRecipes(String rewriteQuarkusUpdateRecipes) targetCatalog(io.quarkus.registry.catalog.ExtensionCatalog latestCatalog) 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.
-
Field Details
-
APP_MODEL
- See Also:
-
TARGET_CATALOG
- See Also:
-
REWRITE
- See Also:
-
TARGET_PLATFORM_VERSION
- See Also:
-
REWRITE_PLUGIN_VERSION
- See Also:
-
REWRITE_QUARKUS_UPDATE_RECIPES
- See Also:
-
REWRITE_ADDITIONAL_UPDATE_RECIPES
- See Also:
-
REWRITE_DRY_RUN
- See Also:
-
-
Constructor Details
-
UpdateProject
-
UpdateProject
public UpdateProject(QuarkusProject quarkusProject, io.quarkus.devtools.messagewriter.MessageWriter messageWriter)
-
-
Method Details
-
targetCatalog
-
appModel
-
rewrite
-
rewritePluginVersion
-
rewriteQuarkusUpdateRecipes
-
rewriteAdditionalUpdateRecipes
-
rewriteDryRun
-
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
-