Package io.quarkus.devtools.commands
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 Summary
Fields Modifier and Type Field Description static StringAPP_MODELstatic StringNO_REWRITEstatic StringPER_MODULEstatic StringREWRITE_DRY_RUNstatic StringREWRITE_PLUGIN_VERSIONstatic StringREWRITE_UPDATE_RECIPES_VERSIONstatic StringTARGET_CATALOGstatic StringTARGET_PLATFORM_VERSION
-
Constructor Summary
Constructors Constructor Description UpdateProject(QuarkusProject quarkusProject)UpdateProject(QuarkusProject quarkusProject, io.quarkus.devtools.messagewriter.MessageWriter messageWriter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateProjectappModel(io.quarkus.bootstrap.model.ApplicationModel applicationModel)QuarkusCommandOutcomeexecute()UpdateProjectnoRewrite(boolean noRewrite)UpdateProjectperModule(boolean perModule)UpdateProjectrewriteDryRun(boolean rewriteDryRun)UpdateProjectrewritePluginVersion(String rewritePluginVersion)UpdateProjectrewriteUpdateRecipesVersion(String rewriteUpdateRecipesVersion)UpdateProjecttargetCatalog(ExtensionCatalog latestCatalog)UpdateProjecttargetPlatformVersion(String targetPlatformVersion)
-
-
-
Field Detail
-
APP_MODEL
public static final String APP_MODEL
- See Also:
- Constant Field Values
-
TARGET_CATALOG
public static final String TARGET_CATALOG
- See Also:
- Constant Field Values
-
PER_MODULE
public static final String PER_MODULE
- See Also:
- Constant Field Values
-
NO_REWRITE
public static final String NO_REWRITE
- See Also:
- Constant Field Values
-
TARGET_PLATFORM_VERSION
public static final String TARGET_PLATFORM_VERSION
- See Also:
- Constant Field Values
-
REWRITE_PLUGIN_VERSION
public static final String REWRITE_PLUGIN_VERSION
- See Also:
- Constant Field Values
-
REWRITE_UPDATE_RECIPES_VERSION
public static final String REWRITE_UPDATE_RECIPES_VERSION
- See Also:
- Constant Field Values
-
REWRITE_DRY_RUN
public static final String REWRITE_DRY_RUN
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UpdateProject
public UpdateProject(QuarkusProject quarkusProject)
-
UpdateProject
public UpdateProject(QuarkusProject quarkusProject, io.quarkus.devtools.messagewriter.MessageWriter messageWriter)
-
-
Method Detail
-
targetCatalog
public UpdateProject targetCatalog(ExtensionCatalog latestCatalog)
-
appModel
public UpdateProject appModel(io.quarkus.bootstrap.model.ApplicationModel applicationModel)
-
noRewrite
public UpdateProject noRewrite(boolean noRewrite)
-
rewritePluginVersion
public UpdateProject rewritePluginVersion(String rewritePluginVersion)
-
rewriteUpdateRecipesVersion
public UpdateProject rewriteUpdateRecipesVersion(String rewriteUpdateRecipesVersion)
-
rewriteDryRun
public UpdateProject rewriteDryRun(boolean rewriteDryRun)
-
perModule
public UpdateProject perModule(boolean perModule)
-
targetPlatformVersion
public UpdateProject targetPlatformVersion(String targetPlatformVersion)
-
execute
public QuarkusCommandOutcome execute() throws QuarkusCommandException
- Throws:
QuarkusCommandException
-
-