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.
The definition of various kinds of repositories that host artifacts.
The types supporting the resolution of artifacts and metadata from repositories.
A listener and various exception types dealing with the transfer of a resource between the local system and a remote
repository.
-
Uses of RepositorySystemSession in org.eclipse.aether
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.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.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.repository
Modifier and TypeMethodDescriptionAuthenticationContext.getSession()
Gets the repository system session during which the authentication happens.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.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.