Uses of Interface
org.eclipse.aether.RepositorySystemSession.SessionBuilder
Package
Description
The primary API of the
RepositorySystem
and its functionality.The various sub components that collectively implement the repository system.
-
Uses of RepositorySystemSession.SessionBuilder in org.apache.maven.resolver.examples.util
-
Uses of RepositorySystemSession.SessionBuilder in org.eclipse.aether
Modifier and TypeMethodDescriptionRepositorySystemSession.SessionBuilder.addOnSessionEndedHandler
(Runnable handler) Adds on session ended handler to be immediately registered when this builder creates session.RepositorySystem.createSessionBuilder()
Creates a brand-new session builder instance that produces "top level" (root) session.RepositorySystemSession.SessionBuilder.setArtifactDescriptorPolicy
(ArtifactDescriptorPolicy artifactDescriptorPolicy) Sets the policy which controls how errors related to reading artifact descriptors should be handled.RepositorySystemSession.SessionBuilder.setArtifactTypeRegistry
(ArtifactTypeRegistry artifactTypeRegistry) Sets the registry of artifact types recognized by this session.RepositorySystemSession.SessionBuilder.setArtifactUpdatePolicy
(String artifactUpdatePolicy) Sets the global artifact update policy.RepositorySystemSession.SessionBuilder.setAuthenticationSelector
(AuthenticationSelector authenticationSelector) Sets the authentication selector to use for repositories discovered in artifact descriptors.RepositorySystemSession.SessionBuilder.setCache
(RepositoryCache cache) Sets the cache the repository system may use to save data for future reuse during the session.RepositorySystemSession.SessionBuilder.setChecksumPolicy
(String checksumPolicy) Sets the global checksum policy.RepositorySystemSession.SessionBuilder.setConfigProperties
(Map<?, ?> configProperties) Sets the configuration properties used to tweak internal aspects of the repository system (e.g.RepositorySystemSession.SessionBuilder.setConfigProperty
(String key, Object value) Sets the specified configuration property.RepositorySystemSession.SessionBuilder.setData
(SessionData data) Sets the custom data associated with this session.RepositorySystemSession.SessionBuilder.setDependencyGraphTransformer
(DependencyGraphTransformer dependencyGraphTransformer) Sets the dependency graph transformer to use for building dependency graphs.RepositorySystemSession.SessionBuilder.setDependencyManager
(DependencyManager dependencyManager) Sets the dependency manager to use for building dependency graphs.RepositorySystemSession.SessionBuilder.setDependencySelector
(DependencySelector dependencySelector) Sets the dependency selector to use for building dependency graphs.RepositorySystemSession.SessionBuilder.setDependencyTraverser
(DependencyTraverser dependencyTraverser) Sets the dependency traverser to use for building dependency graphs.RepositorySystemSession.SessionBuilder.setIgnoreArtifactDescriptorRepositories
(boolean ignoreArtifactDescriptorRepositories) Controls whether repositories declared in artifact descriptors should be ignored during transitive dependency collection.RepositorySystemSession.SessionBuilder.setLocalRepositoryManager
(LocalRepositoryManager localRepositoryManager) Sets the local repository manager used during this session.RepositorySystemSession.SessionBuilder.setMetadataUpdatePolicy
(String metadataUpdatePolicy) Sets the global metadata update policy.RepositorySystemSession.SessionBuilder.setMirrorSelector
(MirrorSelector mirrorSelector) Sets the mirror selector to use for repositories discovered in artifact descriptors.RepositorySystemSession.SessionBuilder.setOffline
(boolean offline) Controls whether the repository system operates in offline mode and avoids/refuses any access to remote repositories.RepositorySystemSession.SessionBuilder.setProxySelector
(ProxySelector proxySelector) Sets the proxy selector to use for repositories discovered in artifact descriptors.RepositorySystemSession.SessionBuilder.setRepositoryCacheSupplier
(Supplier<RepositoryCache> cacheSupplier) Sets the cache supplier for the repository system may use to save data for future reuse during the session.RepositorySystemSession.SessionBuilder.setRepositoryListener
(RepositoryListener repositoryListener) Sets the listener being notified of actions in the repository system.RepositorySystemSession.SessionBuilder.setResolutionErrorPolicy
(ResolutionErrorPolicy resolutionErrorPolicy) Sets the policy which controls whether resolutions errors from remote repositories should be cached.RepositorySystemSession.SessionBuilder.setSessionDataSupplier
(Supplier<SessionData> dataSupplier) Sets the custom session data supplier associated with this session.RepositorySystemSession.SessionBuilder.setSystemProperties
(Map<?, ?> systemProperties) Sets the system properties to use, e.g.RepositorySystemSession.SessionBuilder.setSystemProperty
(String key, String value) Sets the specified system property.RepositorySystemSession.SessionBuilder.setSystemScopeHandler
(SystemScopeHandler systemScopeHandler) Sets the system scope handler for session, may not benull
.RepositorySystemSession.SessionBuilder.setTransferListener
(TransferListener transferListener) Sets the listener being notified of uploads/downloads by the repository system.RepositorySystemSession.SessionBuilder.setUpdatePolicy
(String updatePolicy) Sets the global update policy.RepositorySystemSession.SessionBuilder.setUserProperties
(Map<?, ?> userProperties) Sets the user properties to use, e.g.RepositorySystemSession.SessionBuilder.setUserProperty
(String key, String value) Sets the specified user property.RepositorySystemSession.SessionBuilder.setVersionFilter
(VersionFilter versionFilter) Sets the version filter to use for building dependency graphs.RepositorySystemSession.SessionBuilder.setWorkspaceReader
(WorkspaceReader workspaceReader) Sets the workspace reader used during this session.RepositorySystemSession.SessionBuilder.withLocalRepositories
(Collection<LocalRepository> localRepositories) Shortcut method to set up local repository manager directly onto builder.RepositorySystemSession.SessionBuilder.withLocalRepositories
(LocalRepository... localRepositories) Shortcut method to set up local repository manager directly onto builder.RepositorySystemSession.SessionBuilder.withLocalRepositoryBaseDirectories
(Path... baseDirectories) Shortcut method to set up local repository manager directly onto builder.RepositorySystemSession.SessionBuilder.withLocalRepositoryBaseDirectories
(Collection<Path> baseDirectories) Shortcut method to set up local repository manager directly onto builder.RepositorySystemSession.SessionBuilder.withRepositoryListener
(Collection<RepositoryListener> repositoryListeners) Adds the listeners to be notified of actions in the repository system.RepositorySystemSession.SessionBuilder.withRepositoryListener
(RepositoryListener... repositoryListeners) Adds the listeners to be notified of actions in the repository system.RepositorySystemSession.SessionBuilder.withRepositorySystemSession
(RepositorySystemSession session) Shortcut method to shallow-copy passed in session into current builder.RepositorySystemSession.SessionBuilder.withTransferListener
(Collection<TransferListener> transferListeners) Adds the listener to be notified of uploads/downloads by the repository system.RepositorySystemSession.SessionBuilder.withTransferListener
(TransferListener... transferListeners) Adds the listener to be notified of uploads/downloads by the repository system. -
Uses of RepositorySystemSession.SessionBuilder in org.eclipse.aether.internal.impl
-
Uses of RepositorySystemSession.SessionBuilder in org.eclipse.aether.internal.impl.session
Modifier and TypeClassDescriptionfinal class
A default implementation of session builder.Modifier and TypeMethodDescriptionDefaultSessionBuilder.addOnSessionEndedHandler
(Runnable handler) DefaultSessionBuilder.withLocalRepositories
(Collection<LocalRepository> localRepositories) DefaultSessionBuilder.withLocalRepositories
(LocalRepository... localRepositories) DefaultSessionBuilder.withLocalRepositoryBaseDirectories
(Path... baseDirectories) DefaultSessionBuilder.withLocalRepositoryBaseDirectories
(Collection<Path> baseDirectories) DefaultSessionBuilder.withRepositoryListener
(Collection<RepositoryListener> repositoryListeners) DefaultSessionBuilder.withRepositoryListener
(RepositoryListener... repositoryListeners) DefaultSessionBuilder.withRepositorySystemSession
(RepositorySystemSession session) DefaultSessionBuilder.withTransferListener
(Collection<TransferListener> transferListeners) DefaultSessionBuilder.withTransferListener
(TransferListener... transferListeners) -
Uses of RepositorySystemSession.SessionBuilder in org.eclipse.aether.supplier
Modifier and TypeMethodDescriptionSessionBuilderSupplier.get()
Deprecated.Creates a new Maven-like repository system session by initializing the session with values typical for Maven-based resolution.Modifier and TypeMethodDescriptionprotected void
SessionBuilderSupplier.configureSessionBuilder
(RepositorySystemSession.SessionBuilder session) Deprecated.