Uses of Record Class
org.apache.maven.cling.invoker.mvnup.goals.UpgradeResult
Packages that use UpgradeResult
Package
Description
Maven Upgrade Tool Goals and Strategies.
-
Uses of UpgradeResult in org.apache.maven.cling.invoker.mvnup.goals
Methods in org.apache.maven.cling.invoker.mvnup.goals that return UpgradeResultModifier and TypeMethodDescriptionfinal UpgradeResult
AbstractUpgradeStrategy.apply
(UpgradeContext context, Map<Path, org.jdom2.Document> pomMap) Template method that handles common logging and error handling.UpgradeStrategy.apply
(UpgradeContext context, Map<Path, org.jdom2.Document> pomMap) Applies the upgrade strategy to all eligible POMs.protected abstract UpgradeResult
AbstractUpgradeStrategy.doApply
(UpgradeContext context, Map<Path, org.jdom2.Document> pomMap) Subclasses implement the actual upgrade logic here.CompatibilityFixStrategy.doApply
(UpgradeContext context, Map<Path, org.jdom2.Document> pomMap) InferenceStrategy.doApply
(UpgradeContext context, Map<Path, org.jdom2.Document> pomMap) ModelUpgradeStrategy.doApply
(UpgradeContext context, Map<Path, org.jdom2.Document> pomMap) PluginUpgradeStrategy.doApply
(UpgradeContext context, Map<Path, org.jdom2.Document> pomMap) static UpgradeResult
UpgradeResult.empty()
Creates an empty result (no POMs processed).StrategyOrchestrator.executeStrategies
(UpgradeContext context, Map<Path, org.jdom2.Document> pomMap) Executes all applicable strategies for the given context and POM map.static UpgradeResult
Creates a failure result with the specified processed POMs and error POMs.UpgradeResult.merge
(UpgradeResult other) Merges this result with another result, combining the sets of POMs.static UpgradeResult
Creates a successful result with the specified processed and modified POMs.Methods in org.apache.maven.cling.invoker.mvnup.goals with parameters of type UpgradeResultModifier and TypeMethodDescriptionprotected void
AbstractUpgradeStrategy.logSummary
(UpgradeContext context, UpgradeResult result) Logs a summary of the upgrade results.UpgradeResult.merge
(UpgradeResult other) Merges this result with another result, combining the sets of POMs.