Package org.eclipse.aether.supplier
Class SessionBuilderSupplier
java.lang.Object
org.apache.maven.repository.internal.MavenSessionBuilderSupplier
org.eclipse.aether.supplier.SessionBuilderSupplier
- All Implemented Interfaces:
Supplier<org.eclipse.aether.RepositorySystemSession.SessionBuilder>
public class SessionBuilderSupplier
extends org.apache.maven.repository.internal.MavenSessionBuilderSupplier
A simple
Supplier
of RepositorySystemSession.SessionBuilder
instances, that on each call supplies newly
constructed instance. To create session out of builder, use RepositorySystemSession.SessionBuilder.build()
. For proper closing
of sessions, use RepositorySystemSession.CloseableSession.close()
method on built instance(s).
Extend this class and override methods to customize, if needed.
- Since:
- 2.0.0
-
Field Summary
Fields inherited from class org.apache.maven.repository.internal.MavenSessionBuilderSupplier
repositorySystem, scopeManager
-
Constructor Summary
ConstructorDescriptionSessionBuilderSupplier
(org.eclipse.aether.RepositorySystem repositorySystem) -
Method Summary
Methods inherited from class org.apache.maven.repository.internal.MavenSessionBuilderSupplier
configureSessionBuilder, get, getArtifactDescriptorPolicy, getArtifactTypeRegistry, getDependencyGraphTransformer, getDependencyManager, getDependencyManager, getDependencySelector, getDependencyTraverser, getScopeManager
-
Constructor Details
-
SessionBuilderSupplier
-