Uses of Interface
org.eclipse.aether.RepositorySystemSession
Package
Description
The primary API of the
RepositorySystem
and its functionality.The types and extension points for collecting the transitive dependencies of an artifact and building a dependency
graph.
Support for downloads/uploads using remote repositories that have a URI-based content structure/layout.
The provisional interfaces defining the various subcomponents that implement the repository system.
The various sub components that collectively implement the repository system.
Internal helper classes for dependency collector.
Utility classes to ease unit testing.
The definition of various kinds of repositories that host artifacts.
The types supporting the resolution of artifacts and metadata from repositories.
The contract to access artifacts/metadata in remote repositories.
The support infrastructure for repository connectors to apply checksum policies when validating the integrity of
downloaded files.
The contract to locate URI-based resources using custom repository layouts.
The contract to download/upload URI-based resources using custom transport protocols.
The contract for custom local repository implementations.
The contract for synchronization context implementations.
A listener and various exception types dealing with the transfer of a resource between the local system and a remote
repository.
Support for downloads/uploads via the HTTP and HTTPS protocols.
Support for downloads that utilize the classpath as "remote" storage.
Support for downloads/uploads using the local filesystem as "remote" storage.
Support for downloads/uploads via the HTTP and HTTPS protocols.
Support for downloads/uploads via the HTTP and HTTPS protocols.
Support for downloads/uploads using Apache Maven Wagon.
Miscellaneous utility classes.
Utilities for concurrent task processing.
Ready-to-use selectors for authentication, proxies and mirrors and a few other repository related utilities.
-
Uses of RepositorySystemSession in org.apache.maven.resolver.examples.util
Modifier and TypeMethodDescriptionstatic List
<RemoteRepository> Booter.newRepositories
(RepositorySystem system, RepositorySystemSession session) -
Uses of RepositorySystemSession in org.eclipse.aether
Modifier and TypeInterfaceDescriptionstatic interface
Immutable session that is closeable, should be handled as a resource.Modifier and TypeClassDescriptionclass
A special repository system session to enable decorating or proxying another session.final class
A simple repository system session.Modifier and TypeMethodDescriptionprotected abstract RepositorySystemSession
AbstractForwardingRepositorySystemSession.getSession()
Gets the repository system session to which this instance forwards calls.RepositoryEvent.getSession()
Gets the repository system session during which the event occurred.Modifier and TypeMethodDescriptionRepositorySystem.collectDependencies
(RepositorySystemSession session, CollectRequest request) Collects the transitive dependencies of an artifact and builds a dependency graph.RepositorySystem.deploy
(RepositorySystemSession session, DeployRequest request) Uploads a collection of artifacts and their accompanying metadata to a remote repository.RepositorySystem.flattenDependencyNodes
(RepositorySystemSession session, DependencyNode root) Flattens the provided graph asDependencyNode
into aList
<DependencyNode>
according to session configuration.DefaultRepositoryCache.get
(RepositorySystemSession session, Object key) RepositoryCache.get
(RepositorySystemSession session, Object key) Gets the specified data from the cache.RepositorySystem.install
(RepositorySystemSession session, InstallRequest request) Installs a collection of artifacts and their accompanying metadata to the local repository.RepositorySystem.newDeploymentRepository
(RepositorySystemSession session, RemoteRepository repository) Forms a remote repository suitable for artifact deployment by applying the session's authentication selector and similar network configuration to the given repository prototype.RepositorySystem.newLocalRepositoryManager
(RepositorySystemSession session, LocalRepository localRepository) Creates a new manager for the specified local repository.RepositorySystem.newResolutionRepositories
(RepositorySystemSession session, List<RemoteRepository> repositories) Forms remote repositories suitable for artifact resolution by applying the session's authentication selector and similar network configuration to the given repository prototypes.RepositorySystem.newSyncContext
(RepositorySystemSession session, boolean shared) Creates a new synchronization context.void
DefaultRepositoryCache.put
(RepositorySystemSession session, Object key, Object data) void
RepositoryCache.put
(RepositorySystemSession session, Object key, Object data) Puts the specified data into the cache.RepositorySystem.readArtifactDescriptor
(RepositorySystemSession session, ArtifactDescriptorRequest request) Gets information about an artifact like its direct dependencies and potential relocations.RepositorySystem.resolveArtifact
(RepositorySystemSession session, ArtifactRequest request) Resolves the path for an artifact.RepositorySystem.resolveArtifacts
(RepositorySystemSession session, Collection<? extends ArtifactRequest> requests) Resolves the paths for a collection of artifacts.RepositorySystem.resolveDependencies
(RepositorySystemSession session, DependencyRequest request) Collects and resolves the transitive dependencies of an artifact.RepositorySystem.resolveMetadata
(RepositorySystemSession session, Collection<? extends MetadataRequest> requests) Resolves the paths for a collection of metadata.RepositorySystem.resolveVersion
(RepositorySystemSession session, VersionRequest request) Resolves an artifact's meta version (if any) to a concrete version.RepositorySystem.resolveVersionRange
(RepositorySystemSession session, VersionRangeRequest request) Expands a version range to a list of matching versions, in ascending order.RepositorySystemSession.SessionBuilder.withRepositorySystemSession
(RepositorySystemSession session) Shortcut method to shallow-copy passed in session into current builder.ModifierConstructorDescriptionBuilder
(RepositorySystemSession session, RepositoryEvent.EventType type) Creates a new event builder for the specified session and event type.Creates a shallow copy of the specified session. -
Uses of RepositorySystemSession in org.eclipse.aether.collection
Modifier and TypeMethodDescriptionDependencyCollectionContext.getSession()
Gets the repository system session during which the dependency collection happens.DependencyGraphTransformationContext.getSession()
Gets the repository system session during which the graph transformation happens.VersionFilter.VersionFilterContext.getSession()
Gets the repository system session during which the version filtering happens. -
Uses of RepositorySystemSession in org.eclipse.aether.connector.basic
Modifier and TypeMethodDescriptionBasicRepositoryConnectorFactory.newInstance
(RepositorySystemSession session, RemoteRepository repository) -
Uses of RepositorySystemSession in org.eclipse.aether.impl
Modifier and TypeMethodDescriptionRemoteRepositoryManager.aggregateRepositories
(RepositorySystemSession session, List<RemoteRepository> dominantRepositories, List<RemoteRepository> recessiveRepositories, boolean recessiveIsRaw) Aggregates repository definitions by merging duplicate repositories and optionally applies mirror, proxy and authentication settings from the supplied session.void
UpdateCheckManager.checkArtifact
(RepositorySystemSession session, UpdateCheck<Artifact, ArtifactTransferException> check) Checks whether an artifact has to be updated from a remote repository.void
UpdateCheckManager.checkMetadata
(RepositorySystemSession session, UpdateCheck<Metadata, MetadataTransferException> check) Checks whether metadata has to be updated from a remote repository.void
OfflineController.checkOffline
(RepositorySystemSession session, RemoteRepository repository) Determines whether the specified repository is accessible if the system was in offline mode.DependencyCollector.collectDependencies
(RepositorySystemSession session, CollectRequest request) Collects the transitive dependencies of some artifacts and builds a dependency graph.Deployer.deploy
(RepositorySystemSession session, DeployRequest request) Uploads a collection of artifacts and their accompanying metadata to a remote repository.UpdatePolicyAnalyzer.getEffectiveUpdatePolicy
(RepositorySystemSession session, String policy1, String policy2) Returns the policy with the shorter update interval.RemoteRepositoryManager.getPolicy
(RepositorySystemSession session, RemoteRepository repository, boolean releases, boolean snapshots) Gets the effective repository policy for the specified remote repository by merging the applicable snapshot/release policy of the repository with global settings from the supplied session.RemoteRepositoryFilterManager.getRemoteRepositoryFilter
(RepositorySystemSession session) Provides the filter instance for given session, ornull
if no filtering applied.Installer.install
(RepositorySystemSession session, InstallRequest request) Installs a collection of artifacts and their accompanying metadata to the local repository.boolean
UpdatePolicyAnalyzer.isUpdatedRequired
(RepositorySystemSession session, long lastModified, String policy) Determines whether the specified modification timestamp satisfies the freshness constraint expressed by the given update policy.MetadataGeneratorFactory.newInstance
(RepositorySystemSession session, DeployRequest request) Creates a new metadata generator for the specified deploy request.MetadataGeneratorFactory.newInstance
(RepositorySystemSession session, InstallRequest request) Creates a new metadata generator for the specified install request.LocalRepositoryProvider.newLocalRepositoryManager
(RepositorySystemSession session, LocalRepository localRepository) Creates a new manager for the specified local repository.RepositoryConnectorProvider.newRepositoryConnector
(RepositorySystemSession session, RemoteRepository repository) Tries to create a repository connector for the specified remote repository.ArtifactDescriptorReader.readArtifactDescriptor
(RepositorySystemSession session, ArtifactDescriptorRequest request) Gets information about an artifact like its direct dependencies and potential relocations.ArtifactResolver.resolveArtifact
(RepositorySystemSession session, ArtifactRequest request) Resolves the path for an artifact.ArtifactResolver.resolveArtifacts
(RepositorySystemSession session, Collection<? extends ArtifactRequest> requests) Resolves the paths for a collection of artifacts.MetadataResolver.resolveMetadata
(RepositorySystemSession session, Collection<? extends MetadataRequest> requests) Resolves the paths for a collection of metadata.VersionResolver.resolveVersion
(RepositorySystemSession session, VersionRequest request) Resolves an artifact's meta version (if any) to a concrete version.VersionRangeResolver.resolveVersionRange
(RepositorySystemSession session, VersionRangeRequest request) Expands a version range to a list of matching versions, in ascending order.void
UpdateCheckManager.touchArtifact
(RepositorySystemSession session, UpdateCheck<Artifact, ArtifactTransferException> check) Updates the timestamp for the artifact contained in the update check.void
UpdateCheckManager.touchMetadata
(RepositorySystemSession session, UpdateCheck<Metadata, MetadataTransferException> check) Updates the timestamp for the metadata contained in the update check. -
Uses of RepositorySystemSession in org.eclipse.aether.internal.impl
Modifier and TypeMethodDescriptionDefaultRemoteRepositoryManager.aggregateRepositories
(RepositorySystemSession session, List<RemoteRepository> dominantRepositories, List<RemoteRepository> recessiveRepositories, boolean recessiveIsRaw) void
DefaultUpdateCheckManager.checkArtifact
(RepositorySystemSession session, UpdateCheck<Artifact, ArtifactTransferException> check) void
DefaultUpdateCheckManager.checkMetadata
(RepositorySystemSession session, UpdateCheck<Metadata, MetadataTransferException> check) void
DefaultOfflineController.checkOffline
(RepositorySystemSession session, RemoteRepository repository) DefaultRepositorySystem.collectDependencies
(RepositorySystemSession session, CollectRequest request) DefaultLocalPathPrefixComposerFactory.createComposer
(RepositorySystemSession session) LocalPathPrefixComposerFactory.createComposer
(RepositorySystemSession session) CreatesLocalPathPrefixComposer
instance out of whatever configuration it finds in passed in session.DefaultDeployer.deploy
(RepositorySystemSession session, DeployRequest request) DefaultRepositorySystem.deploy
(RepositorySystemSession session, DeployRequest request) DefaultRepositorySystem.flattenDependencyNodes
(RepositorySystemSession session, DependencyNode root) DefaultChecksumPolicyProvider.getEffectiveChecksumPolicy
(RepositorySystemSession session, String policy1, String policy2) DefaultUpdatePolicyAnalyzer.getEffectiveUpdatePolicy
(RepositorySystemSession session, String policy1, String policy2) protected String
LocalPathPrefixComposerFactorySupport.getLocalPrefix
(RepositorySystemSession session) DefaultRemoteRepositoryManager.getPolicy
(RepositorySystemSession session, RemoteRepository repository, boolean releases, boolean snapshots) protected String
LocalPathPrefixComposerFactorySupport.getReleasesPrefix
(RepositorySystemSession session) protected String
LocalPathPrefixComposerFactorySupport.getRemotePrefix
(RepositorySystemSession session) protected String
LocalPathPrefixComposerFactorySupport.getSnapshotsPrefix
(RepositorySystemSession session) DefaultInstaller.install
(RepositorySystemSession session, InstallRequest request) DefaultRepositorySystem.install
(RepositorySystemSession session, InstallRequest request) protected boolean
LocalPathPrefixComposerFactorySupport.isSplit
(RepositorySystemSession session) protected boolean
LocalPathPrefixComposerFactorySupport.isSplitLocal
(RepositorySystemSession session) protected boolean
LocalPathPrefixComposerFactorySupport.isSplitRemote
(RepositorySystemSession session) protected boolean
LocalPathPrefixComposerFactorySupport.isSplitRemoteRepository
(RepositorySystemSession session) protected boolean
LocalPathPrefixComposerFactorySupport.isSplitRemoteRepositoryLast
(RepositorySystemSession session) boolean
DefaultUpdatePolicyAnalyzer.isUpdatedRequired
(RepositorySystemSession session, long lastModified, String policy) DefaultChecksumPolicyProvider.newChecksumPolicy
(RepositorySystemSession session, RemoteRepository repository, TransferResource resource, String policy) DefaultRepositorySystem.newDeploymentRepository
(RepositorySystemSession session, RemoteRepository repository) EnhancedLocalRepositoryManagerFactory.newInstance
(RepositorySystemSession session, LocalRepository repository) Maven2RepositoryLayoutFactory.newInstance
(RepositorySystemSession session, RemoteRepository repository) SimpleLocalRepositoryManagerFactory.newInstance
(RepositorySystemSession session, LocalRepository repository) DefaultLocalRepositoryProvider.newLocalRepositoryManager
(RepositorySystemSession session, LocalRepository repository) DefaultRepositorySystem.newLocalRepositoryManager
(RepositorySystemSession session, LocalRepository localRepository) DefaultRepositoryConnectorProvider.newRepositoryConnector
(RepositorySystemSession session, RemoteRepository repository) DefaultRepositoryLayoutProvider.newRepositoryLayout
(RepositorySystemSession session, RemoteRepository repository) DefaultRepositorySystem.newResolutionRepositories
(RepositorySystemSession session, List<RemoteRepository> repositories) DefaultRepositorySystem.newSyncContext
(RepositorySystemSession session, boolean shared) DefaultTransporterProvider.newTransporter
(RepositorySystemSession session, RemoteRepository repository) DefaultRepositorySystem.readArtifactDescriptor
(RepositorySystemSession session, ArtifactDescriptorRequest request) DefaultArtifactResolver.resolveArtifact
(RepositorySystemSession session, ArtifactRequest request) DefaultRepositorySystem.resolveArtifact
(RepositorySystemSession session, ArtifactRequest request) DefaultArtifactResolver.resolveArtifacts
(RepositorySystemSession session, Collection<? extends ArtifactRequest> requests) DefaultRepositorySystem.resolveArtifacts
(RepositorySystemSession session, Collection<? extends ArtifactRequest> requests) DefaultRepositorySystem.resolveDependencies
(RepositorySystemSession session, DependencyRequest request) DefaultMetadataResolver.resolveMetadata
(RepositorySystemSession session, Collection<? extends MetadataRequest> requests) DefaultRepositorySystem.resolveMetadata
(RepositorySystemSession session, Collection<? extends MetadataRequest> requests) DefaultRepositorySystem.resolveVersion
(RepositorySystemSession session, VersionRequest request) DefaultRepositorySystem.resolveVersionRange
(RepositorySystemSession session, VersionRangeRequest request) void
DefaultUpdateCheckManager.touchArtifact
(RepositorySystemSession session, UpdateCheck<Artifact, ArtifactTransferException> check) void
DefaultUpdateCheckManager.touchMetadata
(RepositorySystemSession session, UpdateCheck<Metadata, MetadataTransferException> check) -
Uses of RepositorySystemSession in org.eclipse.aether.internal.impl.checksum
Modifier and TypeMethodDescriptionSparseDirectoryTrustedChecksumsSource.doGetTrustedArtifactChecksums
(RepositorySystemSession session, Artifact artifact, ArtifactRepository artifactRepository, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories) SummaryFileTrustedChecksumsSource.doGetTrustedArtifactChecksums
(RepositorySystemSession session, Artifact artifact, ArtifactRepository artifactRepository, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories) protected TrustedChecksumsSource.Writer
SparseDirectoryTrustedChecksumsSource.doGetTrustedArtifactChecksumsWriter
(RepositorySystemSession session) protected TrustedChecksumsSource.Writer
SummaryFileTrustedChecksumsSource.doGetTrustedArtifactChecksumsWriter
(RepositorySystemSession session) TrustedToProvidedChecksumsSourceAdapter.getProvidedArtifactChecksums
(RepositorySystemSession session, ArtifactDownload transfer, RemoteRepository repository, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories) protected boolean
SparseDirectoryTrustedChecksumsSource.isEnabled
(RepositorySystemSession session) protected boolean
SummaryFileTrustedChecksumsSource.isEnabled
(RepositorySystemSession session) -
Uses of RepositorySystemSession in org.eclipse.aether.internal.impl.collect
Modifier and TypeMethodDescriptionDefaultDependencyCollectionContext.getSession()
DefaultDependencyGraphTransformationContext.getSession()
DefaultVersionFilterContext.getSession()
protected RepositorySystemSession
DependencyCollectorDelegate.optimizeSession
(RepositorySystemSession session) Modifier and TypeMethodDescriptionprotected VersionRangeResult
DependencyCollectorDelegate.cachedResolveRangeResult
(VersionRangeRequest rangeRequest, DataPool pool, RepositorySystemSession session) DefaultDependencyCollector.collectDependencies
(RepositorySystemSession session, CollectRequest request) final CollectResult
DependencyCollectorDelegate.collectDependencies
(RepositorySystemSession session, CollectRequest request) protected abstract void
DependencyCollectorDelegate.doCollectDependencies
(RepositorySystemSession session, RequestTrace trace, DataPool pool, DefaultDependencyCollectionContext context, DefaultVersionFilterContext versionContext, CollectRequest request, DependencyNode node, List<RemoteRepository> repositories, List<Dependency> dependencies, List<Dependency> managedDependencies, DependencyCollectorDelegate.Results results) static ArtifactTypeRegistry
CachingArtifactTypeRegistry.newInstance
(RepositorySystemSession session) protected RepositorySystemSession
DependencyCollectorDelegate.optimizeSession
(RepositorySystemSession session) ModifierConstructorDescriptionDataPool
(RepositorySystemSession session) DefaultDependencyCollectionContext
(RepositorySystemSession session, Artifact artifact, Dependency dependency, List<Dependency> managedDependencies) Results
(CollectResult result, RepositorySystemSession session) -
Uses of RepositorySystemSession in org.eclipse.aether.internal.impl.collect.bf
Modifier and TypeMethodDescriptionprotected void
BfDependencyCollector.doCollectDependencies
(RepositorySystemSession session, RequestTrace trace, DataPool pool, DefaultDependencyCollectionContext context, DefaultVersionFilterContext versionContext, CollectRequest request, DependencyNode node, List<RemoteRepository> repositories, List<Dependency> dependencies, List<Dependency> managedDependencies, DependencyCollectorDelegate.Results results) -
Uses of RepositorySystemSession in org.eclipse.aether.internal.impl.collect.df
Modifier and TypeMethodDescriptionprotected void
DfDependencyCollector.doCollectDependencies
(RepositorySystemSession session, RequestTrace trace, DataPool pool, DefaultDependencyCollectionContext context, DefaultVersionFilterContext versionContext, CollectRequest request, DependencyNode node, List<RemoteRepository> repositories, List<Dependency> dependencies, List<Dependency> managedDependencies, DependencyCollectorDelegate.Results results) -
Uses of RepositorySystemSession in org.eclipse.aether.internal.impl.filter
Modifier and TypeMethodDescriptionprotected Path
RemoteRepositoryFilterSourceSupport.getBasedir
(RepositorySystemSession session, String defaultValue, String configPropKey, boolean mayCreate) Uses commonDirectoryUtils.resolveDirectory(RepositorySystemSession, String, String, boolean)
to calculate (and maybe create) basedir for this implementation, never returnsnull
.DefaultRemoteRepositoryFilterManager.getRemoteRepositoryFilter
(RepositorySystemSession session) GroupIdRemoteRepositoryFilterSource.getRemoteRepositoryFilter
(RepositorySystemSession session) PrefixesRemoteRepositoryFilterSource.getRemoteRepositoryFilter
(RepositorySystemSession session) protected boolean
GroupIdRemoteRepositoryFilterSource.isEnabled
(RepositorySystemSession session) protected boolean
PrefixesRemoteRepositoryFilterSource.isEnabled
(RepositorySystemSession session) protected abstract boolean
RemoteRepositoryFilterSourceSupport.isEnabled
(RepositorySystemSession session) Returnstrue
if session configuration contains this name set totrue
.void
GroupIdRemoteRepositoryFilterSource.postProcess
(RepositorySystemSession session, List<ArtifactResult> artifactResults) -
Uses of RepositorySystemSession in org.eclipse.aether.internal.impl.resolution
Modifier and TypeMethodDescriptionprotected abstract void
ArtifactResolverPostProcessorSupport.doPostProcess
(RepositorySystemSession session, List<ArtifactResult> artifactResults) protected void
TrustedChecksumsArtifactResolverPostProcessor.doPostProcess
(RepositorySystemSession session, List<ArtifactResult> artifactResults) protected abstract boolean
ArtifactResolverPostProcessorSupport.isEnabled
(RepositorySystemSession session) Returnstrue
if session configuration marks this instance as enabled.protected boolean
TrustedChecksumsArtifactResolverPostProcessor.isEnabled
(RepositorySystemSession session) void
ArtifactResolverPostProcessorSupport.postProcess
(RepositorySystemSession session, List<ArtifactResult> artifactResults) This implementation will call into underlying code only if enabled. -
Uses of RepositorySystemSession in org.eclipse.aether.internal.impl.session
Modifier and TypeClassDescriptionfinal class
A default implementation of repository system session that is immutable and thread-safe.Modifier and TypeMethodDescriptionDefaultSessionBuilder.withRepositorySystemSession
(RepositorySystemSession session) -
Uses of RepositorySystemSession in org.eclipse.aether.internal.impl.synccontext
Modifier and TypeMethodDescriptionDefaultSyncContextFactory.newInstance
(RepositorySystemSession session, boolean shared) -
Uses of RepositorySystemSession in org.eclipse.aether.internal.impl.synccontext.named
Modifier and TypeMethodDescriptionprotected NamedLockFactoryAdapter
NamedLockFactoryAdapterFactoryImpl.createAdapter
(RepositorySystemSession session) Creates a new adapter instance, never returnsnull
.NamedLockFactoryAdapterFactory.getAdapter
(RepositorySystemSession session) Creates or returns pre-createdNamedLockFactoryAdapter
, nevernull
.NamedLockFactoryAdapterFactoryImpl.getAdapter
(RepositorySystemSession session) Current implementation simply delegates toNamedLockFactoryAdapterFactoryImpl.createAdapter(RepositorySystemSession)
.protected String
NamedLockFactoryAdapterFactoryImpl.getFactoryName
(RepositorySystemSession session) Returns the selected (user configured or default) named lock factory name, nevernull
.protected String
NamedLockFactoryAdapterFactoryImpl.getNameMapperName
(RepositorySystemSession session) Returns the selected (user configured or default) name mapper name, nevernull
.BasedirNameMapper.nameLocks
(RepositorySystemSession session, Collection<? extends Artifact> artifacts, Collection<? extends Metadata> metadatas) DiscriminatingNameMapper.nameLocks
(RepositorySystemSession session, Collection<? extends Artifact> artifacts, Collection<? extends Metadata> metadatas) GAVNameMapper.nameLocks
(RepositorySystemSession session, Collection<? extends Artifact> artifacts, Collection<? extends Metadata> metadatas) HashingNameMapper.nameLocks
(RepositorySystemSession session, Collection<? extends Artifact> artifacts, Collection<? extends Metadata> metadatas) NameMapper.nameLocks
(RepositorySystemSession session, Collection<? extends Artifact> artifacts, Collection<? extends Metadata> metadatas) Creates (opaque) names for passed in artifacts and metadata.StaticNameMapper.nameLocks
(RepositorySystemSession session, Collection<? extends Artifact> artifacts, Collection<? extends Metadata> metadatas) NamedLockFactoryAdapter.newInstance
(RepositorySystemSession session, boolean shared) -
Uses of RepositorySystemSession in org.eclipse.aether.internal.test.util
Modifier and TypeMethodDescriptionvoid
TestLocalRepositoryManager.add
(RepositorySystemSession session, LocalArtifactRegistration request) void
TestLocalRepositoryManager.add
(RepositorySystemSession session, LocalMetadataRegistration request) TestLocalRepositoryManager.find
(RepositorySystemSession session, LocalArtifactRequest request) TestLocalRepositoryManager.find
(RepositorySystemSession session, LocalMetadataRequest request) static DependencyCollectionContext
TestUtils.newCollectionContext
(RepositorySystemSession session, Artifact artifact, Dependency dependency, List<Dependency> managedDependencies) Creates a new dependency collection context.static DependencyCollectionContext
TestUtils.newCollectionContext
(RepositorySystemSession session, Dependency dependency, List<Dependency> managedDependencies) Creates a new dependency collection context.TestUtils.newTransformationContext
(RepositorySystemSession session) Creates a new dependency graph transformation context.TestUtils.newVersionFilterContext
(RepositorySystemSession session, VersionRangeResult rangeResult) Creates a new version filter context from the specified session and version range result.IniArtifactDescriptorReader.readArtifactDescriptor
(RepositorySystemSession session, ArtifactDescriptorRequest request) Parses the resource$prefix/gid_aid_ver.ini
from the request artifact as an artifact description and wraps it into an ArtifactDescriptorResult. -
Uses of RepositorySystemSession in org.eclipse.aether.repository
Modifier and TypeMethodDescriptionAuthenticationContext.getSession()
Gets the repository system session during which the authentication happens (if within session).AuthenticationDigest.getSession()
Gets the repository system session during which the authentication fingerprint is calculated.Modifier and TypeMethodDescriptionvoid
LocalRepositoryManager.add
(RepositorySystemSession session, LocalArtifactRegistration request) Registers an installed or resolved artifact with the local repository.void
LocalRepositoryManager.add
(RepositorySystemSession session, LocalMetadataRegistration request) Registers installed or resolved metadata with the local repository.LocalRepositoryManager.find
(RepositorySystemSession session, LocalArtifactRequest request) Queries for the existence of an artifact in the local repository.LocalRepositoryManager.find
(RepositorySystemSession session, LocalMetadataRequest request) Queries for the existence of metadata in the local repository.static AuthenticationContext
AuthenticationContext.forProxy
(RepositorySystemSession session, RemoteRepository repository) Gets an authentication context for the proxy of the specified repository.static String
AuthenticationDigest.forProxy
(RepositorySystemSession session, RemoteRepository repository) Gets the fingerprint for the authentication of the specified repository's proxy.static AuthenticationContext
AuthenticationContext.forRepository
(RepositorySystemSession session, RemoteRepository repository) Gets an authentication context for the specified repository.static String
AuthenticationDigest.forRepository
(RepositorySystemSession session, RemoteRepository repository) Gets the fingerprint for the authentication of the specified repository. -
Uses of RepositorySystemSession in org.eclipse.aether.resolution
Modifier and TypeMethodDescriptionint
ResolutionErrorPolicy.getArtifactPolicy
(RepositorySystemSession session, ResolutionErrorPolicyRequest<Artifact> request) Gets the error policy for an artifact.int
ResolutionErrorPolicy.getMetadataPolicy
(RepositorySystemSession session, ResolutionErrorPolicyRequest<Metadata> request) Gets the error policy for some metadata.int
ArtifactDescriptorPolicy.getPolicy
(RepositorySystemSession session, ArtifactDescriptorPolicyRequest request) Gets the error policy for an artifact's descriptor. -
Uses of RepositorySystemSession in org.eclipse.aether.spi.checksums
Modifier and TypeMethodDescriptionProvidedChecksumsSource.getProvidedArtifactChecksums
(RepositorySystemSession session, ArtifactDownload transfer, RemoteRepository remoteRepository, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories) May return the provided checksums (for given artifact transfer) from source other than remote repository, ornull
if it have no checksums available for given transfer.TrustedChecksumsSource.getTrustedArtifactChecksums
(RepositorySystemSession session, Artifact artifact, ArtifactRepository artifactRepository, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories) May return the trusted checksums (for given artifact) from trusted source, ornull
if not enabled.TrustedChecksumsSource.getTrustedArtifactChecksumsWriter
(RepositorySystemSession session) Some trusted checksums sources may implement this optional method: ability to write/add checksums to them. -
Uses of RepositorySystemSession in org.eclipse.aether.spi.connector
Modifier and TypeMethodDescriptionRepositoryConnectorFactory.newInstance
(RepositorySystemSession session, RemoteRepository repository) Tries to create a repository connector for the specified remote repository. -
Uses of RepositorySystemSession in org.eclipse.aether.spi.connector.checksum
Modifier and TypeMethodDescriptionChecksumPolicyProvider.getEffectiveChecksumPolicy
(RepositorySystemSession session, String policy1, String policy2) Returns the least strict policy.ChecksumPolicyProvider.newChecksumPolicy
(RepositorySystemSession session, RemoteRepository repository, TransferResource resource, String policy) Retrieves the checksum policy with the specified identifier for use on the given remote resource. -
Uses of RepositorySystemSession in org.eclipse.aether.spi.connector.filter
Modifier and TypeMethodDescriptionRemoteRepositoryFilterSource.getRemoteRepositoryFilter
(RepositorySystemSession session) Provides the filter instance for given session, ornull
if this instance wants to abstain from participating in filtering. -
Uses of RepositorySystemSession in org.eclipse.aether.spi.connector.layout
Modifier and TypeMethodDescriptionRepositoryLayoutFactory.newInstance
(RepositorySystemSession session, RemoteRepository repository) Tries to create a repository layout for the specified remote repository.RepositoryLayoutProvider.newRepositoryLayout
(RepositorySystemSession session, RemoteRepository repository) Tries to retrieve a repository layout for the specified remote repository. -
Uses of RepositorySystemSession in org.eclipse.aether.spi.connector.transport
Modifier and TypeMethodDescriptionTransporterFactory.newInstance
(RepositorySystemSession session, RemoteRepository repository) Tries to create a transporter for the specified remote repository.TransporterProvider.newTransporter
(RepositorySystemSession session, RemoteRepository repository) Tries to create a transporter for the specified remote repository. -
Uses of RepositorySystemSession in org.eclipse.aether.spi.localrepo
Modifier and TypeMethodDescriptionLocalRepositoryManagerFactory.newInstance
(RepositorySystemSession session, LocalRepository repository) Tries to create a repository manager for the specified local repository. -
Uses of RepositorySystemSession in org.eclipse.aether.spi.resolution
Modifier and TypeMethodDescriptionvoid
ArtifactResolverPostProcessor.postProcess
(RepositorySystemSession session, List<ArtifactResult> artifactResults) Receives resolver results just before it would return it to caller. -
Uses of RepositorySystemSession in org.eclipse.aether.spi.synccontext
Modifier and TypeMethodDescriptionSyncContextFactory.newInstance
(RepositorySystemSession session, boolean shared) Creates a new synchronization context. -
Uses of RepositorySystemSession in org.eclipse.aether.transfer
Modifier and TypeMethodDescriptionTransferEvent.getSession()
Gets the repository system session during which the event occurred.ModifierConstructorDescriptionBuilder
(RepositorySystemSession session, TransferResource resource) Creates a new transfer event builder for the specified session and the given resource. -
Uses of RepositorySystemSession in org.eclipse.aether.transport.apache
Modifier and TypeMethodDescriptionApacheTransporterFactory.newInstance
(RepositorySystemSession session, RemoteRepository repository) -
Uses of RepositorySystemSession in org.eclipse.aether.transport.classpath
Modifier and TypeMethodDescriptionClasspathTransporterFactory.newInstance
(RepositorySystemSession session, RemoteRepository repository) -
Uses of RepositorySystemSession in org.eclipse.aether.transport.file
Modifier and TypeMethodDescriptionFileTransporterFactory.newInstance
(RepositorySystemSession session, RemoteRepository repository) -
Uses of RepositorySystemSession in org.eclipse.aether.transport.jdk
Modifier and TypeMethodDescriptionJdkTransporterFactory.newInstance
(RepositorySystemSession session, RemoteRepository repository) -
Uses of RepositorySystemSession in org.eclipse.aether.transport.jetty
Modifier and TypeMethodDescriptionJettyTransporterFactory.newInstance
(RepositorySystemSession session, RemoteRepository repository) -
Uses of RepositorySystemSession in org.eclipse.aether.transport.wagon
Modifier and TypeMethodDescriptionWagonTransporterFactory.newInstance
(RepositorySystemSession session, RemoteRepository repository) -
Uses of RepositorySystemSession in org.eclipse.aether.util
Modifier and TypeMethodDescriptionstatic boolean
ConfigUtils.getBoolean
(RepositorySystemSession session, boolean defaultValue, String... keys) Gets the specified configuration property.static float
ConfigUtils.getFloat
(RepositorySystemSession session, float defaultValue, String... keys) Gets the specified configuration property.static int
ConfigUtils.getInteger
(RepositorySystemSession session, int defaultValue, String... keys) Gets the specified configuration property.static List
<?> ConfigUtils.getList
(RepositorySystemSession session, List<?> defaultValue, String... keys) Gets the specified configuration property.static long
ConfigUtils.getLong
(RepositorySystemSession session, long defaultValue, String... keys) Gets the specified configuration property.static Map
<?, ?> ConfigUtils.getMap
(RepositorySystemSession session, Map<?, ?> defaultValue, String... keys) Gets the specified configuration property.static Object
ConfigUtils.getObject
(RepositorySystemSession session, Object defaultValue, String... keys) Gets the specified configuration property.static String
ConfigUtils.getString
(RepositorySystemSession session, String defaultValue, String... keys) Gets the specified configuration property.static Path
DirectoryUtils.resolveDirectory
(RepositorySystemSession session, String defaultName, String nameKey, boolean mayCreate) CreatesPath
instance out of session configuration, and (if relative) resolve it against local repository basedir. -
Uses of RepositorySystemSession in org.eclipse.aether.util.concurrency
Modifier and TypeMethodDescriptionstatic int
ExecutorUtils.threadCount
(RepositorySystemSession session, int defaultValue, String... keys) Retrieves and validates requested thread count based on session and specified keys, or if none provided, the provided default value. -
Uses of RepositorySystemSession in org.eclipse.aether.util.repository
Modifier and TypeMethodDescriptionvoid
ChainedLocalRepositoryManager.add
(RepositorySystemSession session, LocalArtifactRegistration request) void
ChainedLocalRepositoryManager.add
(RepositorySystemSession session, LocalMetadataRegistration request) ChainedLocalRepositoryManager.find
(RepositorySystemSession session, LocalArtifactRequest request) ChainedLocalRepositoryManager.find
(RepositorySystemSession session, LocalMetadataRequest request) int
SimpleResolutionErrorPolicy.getArtifactPolicy
(RepositorySystemSession session, ResolutionErrorPolicyRequest<Artifact> request) int
SimpleResolutionErrorPolicy.getMetadataPolicy
(RepositorySystemSession session, ResolutionErrorPolicyRequest<Metadata> request) int
SimpleArtifactDescriptorPolicy.getPolicy
(RepositorySystemSession session, ArtifactDescriptorPolicyRequest request) ModifierConstructorDescriptionChainedLocalRepositoryManager
(LocalRepositoryManager head, List<LocalRepositoryManager> tail, RepositorySystemSession session)