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 int
static final int
static final int
static final int
Fields inherited from class org.apache.maven.cling.invoker.LookupInvoker
contextConsumer, protoLookup
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected int
badGoalsErrorMessage
(String message, UpgradeContext context) protected UpgradeContext
createContext
(InvokerRequest invokerRequest) protected int
execute
(UpgradeContext context) protected void
lookup
(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:
createContext
in classLookupInvoker<UpgradeContext>
-
lookup
- Overrides:
lookup
in classLookupInvoker<UpgradeContext>
- Throws:
Exception
-
execute
- Specified by:
execute
in classLookupInvoker<UpgradeContext>
- Throws:
Exception
-
badGoalsErrorMessage
-