Uses of Interface
org.eclipse.aether.RepositorySystemSession
-
Packages that use RepositorySystemSession Package Description org.apache.maven.resolver.examples.util org.eclipse.aether The primary API of theRepositorySystem
and its functionality.org.eclipse.aether.collection The types and extension points for collecting the transitive dependencies of an artifact and building a dependency graph.org.eclipse.aether.connector.basic Support for downloads/uploads using remote repositories that have a URI-based content structure/layout.org.eclipse.aether.impl The provisional interfaces defining the various sub components that implement the repository system.org.eclipse.aether.internal.impl The various sub components that collectively implement the repository system.org.eclipse.aether.internal.impl.collect Internal helper classes for dependency collector.org.eclipse.aether.internal.test.util Utility classes to ease unit testing.org.eclipse.aether.repository The definition of various kinds of repositories that host artifacts.org.eclipse.aether.resolution The types supporting the resolution of artifacts and metadata from repositories.org.eclipse.aether.spi.connector The contract to access artifacts/metadata in remote repositories.org.eclipse.aether.spi.connector.checksum The support infrastructure for repository connectors to apply checksum policies when validating the integrity of downloaded files.org.eclipse.aether.spi.connector.layout The contract to locate URI-based resources using custom repository layouts.org.eclipse.aether.spi.connector.transport The contract to download/upload URI-based resources using custom transport protocols.org.eclipse.aether.spi.localrepo The contract for custom local repository implementations.org.eclipse.aether.transfer A listener and various exception types dealing with the transfer of a resource between the local system and a remote repository.org.eclipse.aether.transport.classpath Support for downloads that utilize the classpath as "remote" storage.org.eclipse.aether.transport.file Support for downloads/uploads using the local filesystem as "remote" storage.org.eclipse.aether.transport.http Support for downloads/uploads via the HTTP and HTTPS protocols.org.eclipse.aether.transport.wagon Support for downloads/uploads using Apache Maven Wagon.org.eclipse.aether.util Miscellaneous utility classes.org.eclipse.aether.util.repository 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
Methods in org.apache.maven.resolver.examples.util with parameters of type RepositorySystemSession Modifier and Type Method Description static List<RemoteRepository>
Booter. newRepositories(RepositorySystem system, RepositorySystemSession session)
-
Uses of RepositorySystemSession in org.eclipse.aether
Classes in org.eclipse.aether that implement RepositorySystemSession Modifier and Type Class Description class
AbstractForwardingRepositorySystemSession
A special repository system session to enable decorating or proxying another session.class
DefaultRepositorySystemSession
A simple repository system session.Methods in org.eclipse.aether that return RepositorySystemSession Modifier and Type Method Description protected abstract RepositorySystemSession
AbstractForwardingRepositorySystemSession. getSession()
Gets the repository system session to which this instance forwards calls.RepositorySystemSession
RepositoryEvent. getSession()
Gets the repository system session during which the event occurred.Methods in org.eclipse.aether with parameters of type RepositorySystemSession Modifier and Type Method Description CollectResult
RepositorySystem. collectDependencies(RepositorySystemSession session, CollectRequest request)
Collects the transitive dependencies of an artifact and builds a dependency graph.DeployResult
RepositorySystem. deploy(RepositorySystemSession session, DeployRequest request)
Uploads a collection of artifacts and their accompanying metadata to a remote repository.Object
DefaultRepositoryCache. get(RepositorySystemSession session, Object key)
Object
RepositoryCache. get(RepositorySystemSession session, Object key)
Gets the specified data from the cache.InstallResult
RepositorySystem. install(RepositorySystemSession session, InstallRequest request)
Installs a collection of artifacts and their accompanying metadata to the local repository.RemoteRepository
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.LocalRepositoryManager
RepositorySystem. newLocalRepositoryManager(RepositorySystemSession session, LocalRepository localRepository)
Creates a new manager for the specified local repository.List<RemoteRepository>
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.SyncContext
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.ArtifactDescriptorResult
RepositorySystem. readArtifactDescriptor(RepositorySystemSession session, ArtifactDescriptorRequest request)
Gets information about an artifact like its direct dependencies and potential relocations.ArtifactResult
RepositorySystem. resolveArtifact(RepositorySystemSession session, ArtifactRequest request)
Resolves the path for an artifact.List<ArtifactResult>
RepositorySystem. resolveArtifacts(RepositorySystemSession session, Collection<? extends ArtifactRequest> requests)
Resolves the paths for a collection of artifacts.DependencyResult
RepositorySystem. resolveDependencies(RepositorySystemSession session, DependencyRequest request)
Collects and resolves the transitive dependencies of an artifact.List<MetadataResult>
RepositorySystem. resolveMetadata(RepositorySystemSession session, Collection<? extends MetadataRequest> requests)
Resolves the paths for a collection of metadata.VersionResult
RepositorySystem. resolveVersion(RepositorySystemSession session, VersionRequest request)
Resolves an artifact's meta version (if any) to a concrete version.VersionRangeResult
RepositorySystem. resolveVersionRange(RepositorySystemSession session, VersionRangeRequest request)
Expands a version range to a list of matching versions, in ascending order.Constructors in org.eclipse.aether with parameters of type RepositorySystemSession Constructor Description Builder(RepositorySystemSession session, RepositoryEvent.EventType type)
Creates a new event builder for the specified session and event type.DefaultRepositorySystemSession(RepositorySystemSession session)
Creates a shallow copy of the specified session. -
Uses of RepositorySystemSession in org.eclipse.aether.collection
Methods in org.eclipse.aether.collection that return RepositorySystemSession Modifier and Type Method Description RepositorySystemSession
DependencyCollectionContext. getSession()
Gets the repository system session during which the dependency collection happens.RepositorySystemSession
DependencyGraphTransformationContext. getSession()
Gets the repository system session during which the graph transformation happens.RepositorySystemSession
VersionFilter.VersionFilterContext. getSession()
Gets the repository system session during which the version filtering happens. -
Uses of RepositorySystemSession in org.eclipse.aether.connector.basic
Methods in org.eclipse.aether.connector.basic with parameters of type RepositorySystemSession Modifier and Type Method Description RepositoryConnector
BasicRepositoryConnectorFactory. newInstance(RepositorySystemSession session, RemoteRepository repository)
-
Uses of RepositorySystemSession in org.eclipse.aether.impl
Methods in org.eclipse.aether.impl with parameters of type RepositorySystemSession Modifier and Type Method Description List<RemoteRepository>
RemoteRepositoryManager. 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.CollectResult
DependencyCollector. collectDependencies(RepositorySystemSession session, CollectRequest request)
Collects the transitive dependencies of some artifacts and builds a dependency graph.DeployResult
Deployer. deploy(RepositorySystemSession session, DeployRequest request)
Uploads a collection of artifacts and their accompanying metadata to a remote repository.String
UpdatePolicyAnalyzer. getEffectiveUpdatePolicy(RepositorySystemSession session, String policy1, String policy2)
Returns the policy with the shorter update interval.RepositoryPolicy
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.InstallResult
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.MetadataGenerator
MetadataGeneratorFactory. newInstance(RepositorySystemSession session, DeployRequest request)
Creates a new metadata generator for the specified deploy request.MetadataGenerator
MetadataGeneratorFactory. newInstance(RepositorySystemSession session, InstallRequest request)
Creates a new metadata generator for the specified install request.SyncContext
SyncContextFactory. newInstance(RepositorySystemSession session, boolean shared)
Creates a new synchronization context.LocalRepositoryManager
LocalRepositoryProvider. newLocalRepositoryManager(RepositorySystemSession session, LocalRepository localRepository)
Creates a new manager for the specified local repository.RepositoryConnector
RepositoryConnectorProvider. newRepositoryConnector(RepositorySystemSession session, RemoteRepository repository)
Tries to create a repository connector for the specified remote repository.ArtifactDescriptorResult
ArtifactDescriptorReader. readArtifactDescriptor(RepositorySystemSession session, ArtifactDescriptorRequest request)
Gets information about an artifact like its direct dependencies and potential relocations.ArtifactResult
ArtifactResolver. resolveArtifact(RepositorySystemSession session, ArtifactRequest request)
Resolves the path for an artifact.List<ArtifactResult>
ArtifactResolver. resolveArtifacts(RepositorySystemSession session, Collection<? extends ArtifactRequest> requests)
Resolves the paths for a collection of artifacts.List<MetadataResult>
MetadataResolver. resolveMetadata(RepositorySystemSession session, Collection<? extends MetadataRequest> requests)
Resolves the paths for a collection of metadata.VersionResult
VersionResolver. resolveVersion(RepositorySystemSession session, VersionRequest request)
Resolves an artifact's meta version (if any) to a concrete version.VersionRangeResult
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
-
Uses of RepositorySystemSession in org.eclipse.aether.internal.impl.collect
Methods in org.eclipse.aether.internal.impl.collect with parameters of type RepositorySystemSession Modifier and Type Method Description CollectResult
DefaultDependencyCollector. collectDependencies(RepositorySystemSession session, CollectRequest request)
-
Uses of RepositorySystemSession in org.eclipse.aether.internal.test.util
Methods in org.eclipse.aether.internal.test.util with parameters of type RepositorySystemSession Modifier and Type Method Description void
TestLocalRepositoryManager. add(RepositorySystemSession session, LocalArtifactRegistration request)
void
TestLocalRepositoryManager. add(RepositorySystemSession session, LocalMetadataRegistration request)
LocalArtifactResult
TestLocalRepositoryManager. find(RepositorySystemSession session, LocalArtifactRequest request)
LocalMetadataResult
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.static DependencyGraphTransformationContext
TestUtils. newTransformationContext(RepositorySystemSession session)
Creates a new dependency graph transformation context.static VersionFilter.VersionFilterContext
TestUtils. newVersionFilterContext(RepositorySystemSession session, VersionRangeResult rangeResult)
Creates a new version filter context from the specified session and version range result.ArtifactDescriptorResult
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
Methods in org.eclipse.aether.repository that return RepositorySystemSession Modifier and Type Method Description RepositorySystemSession
AuthenticationContext. getSession()
Gets the repository system session during which the authentication happens.RepositorySystemSession
AuthenticationDigest. getSession()
Gets the repository system session during which the authentication fingerprint is calculated.Methods in org.eclipse.aether.repository with parameters of type RepositorySystemSession Modifier and Type Method Description void
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.LocalArtifactResult
LocalRepositoryManager. find(RepositorySystemSession session, LocalArtifactRequest request)
Queries for the existence of an artifact in the local repository.LocalMetadataResult
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
Methods in org.eclipse.aether.resolution with parameters of type RepositorySystemSession Modifier and Type Method Description int
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.connector
Methods in org.eclipse.aether.spi.connector with parameters of type RepositorySystemSession Modifier and Type Method Description RepositoryConnector
RepositoryConnectorFactory. 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
Methods in org.eclipse.aether.spi.connector.checksum with parameters of type RepositorySystemSession Modifier and Type Method Description String
ChecksumPolicyProvider. getEffectiveChecksumPolicy(RepositorySystemSession session, String policy1, String policy2)
Returns the least strict policy.ChecksumPolicy
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.layout
Methods in org.eclipse.aether.spi.connector.layout with parameters of type RepositorySystemSession Modifier and Type Method Description RepositoryLayout
RepositoryLayoutFactory. newInstance(RepositorySystemSession session, RemoteRepository repository)
Tries to create a repository layout for the specified remote repository.RepositoryLayout
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
Methods in org.eclipse.aether.spi.connector.transport with parameters of type RepositorySystemSession Modifier and Type Method Description Transporter
TransporterFactory. newInstance(RepositorySystemSession session, RemoteRepository repository)
Tries to create a transporter for the specified remote repository.Transporter
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
Methods in org.eclipse.aether.spi.localrepo with parameters of type RepositorySystemSession Modifier and Type Method Description LocalRepositoryManager
LocalRepositoryManagerFactory. newInstance(RepositorySystemSession session, LocalRepository repository)
Tries to create a repository manager for the specified local repository. -
Uses of RepositorySystemSession in org.eclipse.aether.transfer
Methods in org.eclipse.aether.transfer that return RepositorySystemSession Modifier and Type Method Description RepositorySystemSession
TransferEvent. getSession()
Gets the repository system session during which the event occurred.Constructors in org.eclipse.aether.transfer with parameters of type RepositorySystemSession Constructor Description Builder(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.classpath
Methods in org.eclipse.aether.transport.classpath with parameters of type RepositorySystemSession Modifier and Type Method Description Transporter
ClasspathTransporterFactory. newInstance(RepositorySystemSession session, RemoteRepository repository)
-
Uses of RepositorySystemSession in org.eclipse.aether.transport.file
Methods in org.eclipse.aether.transport.file with parameters of type RepositorySystemSession Modifier and Type Method Description Transporter
FileTransporterFactory. newInstance(RepositorySystemSession session, RemoteRepository repository)
-
Uses of RepositorySystemSession in org.eclipse.aether.transport.http
Methods in org.eclipse.aether.transport.http with parameters of type RepositorySystemSession Modifier and Type Method Description Transporter
HttpTransporterFactory. newInstance(RepositorySystemSession session, RemoteRepository repository)
-
Uses of RepositorySystemSession in org.eclipse.aether.transport.wagon
Methods in org.eclipse.aether.transport.wagon with parameters of type RepositorySystemSession Modifier and Type Method Description Transporter
WagonTransporterFactory. newInstance(RepositorySystemSession session, RemoteRepository repository)
-
Uses of RepositorySystemSession in org.eclipse.aether.util
Methods in org.eclipse.aether.util with parameters of type RepositorySystemSession Modifier and Type Method Description static 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. -
Uses of RepositorySystemSession in org.eclipse.aether.util.repository
Methods in org.eclipse.aether.util.repository with parameters of type RepositorySystemSession Modifier and Type Method Description int
SimpleResolutionErrorPolicy. getArtifactPolicy(RepositorySystemSession session, ResolutionErrorPolicyRequest<Artifact> request)
int
SimpleResolutionErrorPolicy. getMetadataPolicy(RepositorySystemSession session, ResolutionErrorPolicyRequest<Metadata> request)
int
SimpleArtifactDescriptorPolicy. getPolicy(RepositorySystemSession session, ArtifactDescriptorPolicyRequest request)
-