Class Check
java.lang.Object
org.apache.maven.cling.invoker.mvnup.goals.AbstractUpgradeGoal
org.apache.maven.cling.invoker.mvnup.goals.Check
- All Implemented Interfaces:
- Goal
The "check" goal implementation.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintexecute(UpgradeContext context) Executes the upgrade goal.protected booleanDetermines whether modifications should be saved to disk.Methods inherited from class org.apache.maven.cling.invoker.mvnup.goals.AbstractUpgradeGoalcreateMvnDirectoryIfNeeded, doUpgrade, saveModifications
- 
Constructor Details- 
Check
 
- 
- 
Method Details- 
shouldSaveModificationsprotected boolean shouldSaveModifications()Description copied from class:AbstractUpgradeGoalDetermines whether modifications should be saved to disk. Apply goals return true, Check goals return false.- Specified by:
- shouldSaveModificationsin class- AbstractUpgradeGoal
 
- 
executeDescription copied from class:AbstractUpgradeGoalExecutes the upgrade goal. Template method that calls doUpgrade and optionally saves modifications.- Specified by:
- executein interface- Goal
- Overrides:
- executein class- AbstractUpgradeGoal
- Throws:
- Exception
 
 
-