Class DefaultResidentMavenInvoker.LocalContext
java.lang.Object
org.apache.maven.cling.invoker.LookupInvoker.LookupInvokerContext<MavenOptions,MavenInvokerRequest<MavenOptions>,DefaultResidentMavenInvoker.LocalContext>
org.apache.maven.cling.invoker.mvn.DefaultMavenInvoker.MavenContext<MavenOptions,MavenInvokerRequest<MavenOptions>,DefaultResidentMavenInvoker.LocalContext>
org.apache.maven.cling.invoker.mvn.resident.DefaultResidentMavenInvoker.LocalContext
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
DefaultResidentMavenInvoker
public static class DefaultResidentMavenInvoker.LocalContext
extends DefaultMavenInvoker.MavenContext<MavenOptions,MavenInvokerRequest<MavenOptions>,DefaultResidentMavenInvoker.LocalContext>
-
Field Summary
Fields inherited from class org.apache.maven.cling.invoker.mvn.DefaultMavenInvoker.MavenContext
eventSpyDispatcher, maven, mavenExecutionRequest, mavenExecutionRequestPopulator, modelProcessor, toolchainsBuilder
Fields inherited from class org.apache.maven.cling.invoker.LookupInvoker.LookupInvokerContext
buildEventListener, closeables, containerCapsule, currentThreadContextClassLoader, cwdResolver, effectiveSettings, installationResolver, installationSettingsPath, interactive, invoker, invokerRequest, localRepositoryPath, logger, loggerFactory, loggerLevel, lookup, projectSettingsPath, protoLookup, session, settingsBuilder, slf4jConfiguration, terminal, userResolver, userSettingsPath
-
Constructor Summary
ModifierConstructorDescriptionprotected
LocalContext
(DefaultResidentMavenInvoker invoker, MavenInvokerRequest<MavenOptions> invokerRequest) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
copy
(MavenInvokerRequest<MavenOptions> invokerRequest) void
shutDown()
-
Constructor Details
-
LocalContext
protected LocalContext(DefaultResidentMavenInvoker invoker, MavenInvokerRequest<MavenOptions> invokerRequest)
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Overrides:
close
in classLookupInvoker.LookupInvokerContext<MavenOptions,
MavenInvokerRequest<MavenOptions>, DefaultResidentMavenInvoker.LocalContext> - Throws:
InvokerException
-
shutDown
- Throws:
InvokerException
-
copy
public DefaultResidentMavenInvoker.LocalContext copy(MavenInvokerRequest<MavenOptions> invokerRequest)
-