Class DefaultResidentMavenInvoker
java.lang.Object
org.apache.maven.cling.invoker.LookupInvoker<MavenOptions,MavenInvokerRequest<MavenOptions>,DefaultResidentMavenInvoker.LocalContext>
  
org.apache.maven.cling.invoker.mvn.DefaultMavenInvoker<MavenOptions,MavenInvokerRequest<MavenOptions>,DefaultResidentMavenInvoker.LocalContext>
  
org.apache.maven.cling.invoker.mvn.resident.DefaultResidentMavenInvoker
- All Implemented Interfaces:
- AutoCloseable,- Invoker<MavenInvokerRequest<MavenOptions>>,- MavenInvoker<MavenInvokerRequest<MavenOptions>>,- ResidentMavenInvoker
public class DefaultResidentMavenInvoker
extends DefaultMavenInvoker<MavenOptions,MavenInvokerRequest<MavenOptions>,DefaultResidentMavenInvoker.LocalContext>
implements ResidentMavenInvoker  
Local invoker implementation, when Maven CLI is being run. System uses ClassWorld launcher, and class world
 instance is passed in via "enhanced" main method. Hence, this class expects fully setup ClassWorld via constructor.
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class org.apache.maven.cling.invoker.mvn.DefaultMavenInvokerDefaultMavenInvoker.MavenContext<O extends MavenOptions,R extends MavenInvokerRequest<O>, C extends DefaultMavenInvoker.MavenContext<O, R, C>> Nested classes/interfaces inherited from class org.apache.maven.cling.invoker.LookupInvokerLookupInvoker.ExitException, LookupInvoker.LookupInvokerContext<O extends Options,R extends InvokerRequest<O>, C extends LookupInvoker.LookupInvokerContext<O, R, C>> 
- 
Field SummaryFields inherited from class org.apache.maven.cling.invoker.mvn.DefaultMavenInvokerANSI_RESET, LAST_ANSI_SEQUENCE, NEXT_LINEFields inherited from class org.apache.maven.cling.invoker.LookupInvokerprotoLookup
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()protected voidprotected DefaultResidentMavenInvoker.LocalContextcreateContext(MavenInvokerRequest<MavenOptions> invokerRequest) protected StringgetContextId(MavenInvokerRequest<MavenOptions> invokerRequest) protected voidMethods inherited from class org.apache.maven.cling.invoker.mvn.DefaultMavenInvokercustomizeSettingsRequest, customizeSettingsResult, determineExecutionListener, determineGlobalChecksumPolicy, determineMakeBehavior, determinePom, determineReactorFailureBehaviour, determineTransferListener, doExecute, execute, getResumeFromSelector, init, logBuildResumeHint, logSummary, performProfileActivation, performProjectActivation, populateRequest, postCommands, prepare, toolchainsMethods inherited from class org.apache.maven.cling.invoker.LookupInvokeractivateLogging, calculateDegreeOfConcurrency, configureLogging, createContainerCapsuleFactory, createTerminal, determineBuildEventListener, doConfigureWithTerminal, doDetermineBuildEventListener, doInvoke, handleException, helpOrVersionAndMayExit, invoke, isRunningOnCI, localRepositoryPath, mayDisableInteractiveMode, populateRequestFromSettings, preCommands, pushProperties, settings, settings, validateMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.api.cli.mvn.MavenInvokerinvoke
- 
Constructor Details- 
DefaultResidentMavenInvoker
 
- 
- 
Method Details- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Invoker<MavenInvokerRequest<MavenOptions>>
- Specified by:
- closein interface- ResidentMavenInvoker
- Throws:
- InvokerException
 
- 
createContextprotected DefaultResidentMavenInvoker.LocalContext createContext(MavenInvokerRequest<MavenOptions> invokerRequest) - Specified by:
- createContextin class- LookupInvoker<MavenOptions,- MavenInvokerRequest<MavenOptions>, - DefaultResidentMavenInvoker.LocalContext> 
 
- 
getContextId
- 
container- Overrides:
- containerin class- LookupInvoker<MavenOptions,- MavenInvokerRequest<MavenOptions>, - DefaultResidentMavenInvoker.LocalContext> 
- Throws:
- Exception
 
- 
lookup- Overrides:
- lookupin class- DefaultMavenInvoker<MavenOptions,- MavenInvokerRequest<MavenOptions>, - DefaultResidentMavenInvoker.LocalContext> 
- Throws:
- Exception
 
 
-