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 Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class org.apache.maven.cling.invoker.LookupInvoker
contextConsumer, protoLookup -
Constructor Summary
Constructors -
Method Summary
Modifier 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.LookupInvoker
activateLogging, 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
-
OK
public static final int OK- See Also:
-
ERROR
public static final int ERROR- See Also:
-
BAD_OPERATION
public static final int BAD_OPERATION- See Also:
-
CANCELED
public static final int CANCELED- See Also:
-
-
Constructor Details
-
UpgradeInvoker
-
-
Method Details
-
createContext
- Specified by:
createContextin classLookupInvoker<UpgradeContext>
-
lookup
- Overrides:
lookupin classLookupInvoker<UpgradeContext>- Throws:
Exception
-
execute
- Specified by:
executein classLookupInvoker<UpgradeContext>- Throws:
Exception
-
badGoalsErrorMessage
-