Class UpgradeInvoker
java.lang.Object
org.apache.maven.cling.invoker.LookupInvoker<UpgradeContext>
org.apache.maven.cling.invoker.mvnup.UpgradeInvoker
- All Implemented Interfaces:
- AutoCloseable,- Invoker
mvnup invoker implementation.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class org.apache.maven.cling.invoker.LookupInvokercontextConsumer, protoLookup
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected intbadGoalsErrorMessage(String message, UpgradeContext context) protected UpgradeContextcreateContext(InvokerRequest invokerRequest) protected intexecute(UpgradeContext context) protected voidlookup(UpgradeContext context) Methods inherited from class org.apache.maven.cling.invoker.LookupInvokeractivateLogging, calculateDegreeOfConcurrency, configureLogging, container, createContainerCapsuleFactory, createCoreExtensionSelector, createTerminal, customizeSettingsRequest, customizeSettingsResult, describe, determineBuildEventListener, determineWriter, doConfigureWithTerminal, doConfigureWithTerminalWithRawStreamsDisabled, doConfigureWithTerminalWithRawStreamsEnabled, doCreateTerminal, doDetermineBuildEventListener, doDetermineWriter, doInvoke, handleException, helpOrVersionAndMayExit, init, invoke, localRepositoryPath, mayDisableInteractiveMode, populateRequest, populateRequestFromSettings, postCommands, postContainer, preCommands, printErrors, pushCoreProperties, pushUserProperties, settings, settings, showVersion, validate
- 
Field Details- 
OKpublic static final int OK- See Also:
 
- 
ERRORpublic static final int ERROR- See Also:
 
- 
BAD_OPERATIONpublic static final int BAD_OPERATION- See Also:
 
- 
CANCELEDpublic static final int CANCELED- See Also:
 
 
- 
- 
Constructor Details- 
UpgradeInvoker
 
- 
- 
Method Details- 
createContext- Specified by:
- createContextin class- LookupInvoker<UpgradeContext>
 
- 
lookup- Overrides:
- lookupin class- LookupInvoker<UpgradeContext>
- Throws:
- Exception
 
- 
execute- Specified by:
- executein class- LookupInvoker<UpgradeContext>
- Throws:
- Exception
 
- 
badGoalsErrorMessage
 
-