Uses of Class
org.eclipse.aether.DefaultRepositorySystemSession
Package
Description
The primary API of the
RepositorySystem
and its functionality.Utility classes to ease unit testing.
-
Uses of DefaultRepositorySystemSession in org.eclipse.aether
Modifier and TypeMethodDescriptionDefaultRepositorySystemSession.setArtifactDescriptorPolicy
(ArtifactDescriptorPolicy artifactDescriptorPolicy) Sets the policy which controls how errors related to reading artifact descriptors should be handled.DefaultRepositorySystemSession.setArtifactTypeRegistry
(ArtifactTypeRegistry artifactTypeRegistry) Sets the registry of artifact types recognized by this session.DefaultRepositorySystemSession.setArtifactUpdatePolicy
(String artifactUpdatePolicy) Sets the global artifact update policy.DefaultRepositorySystemSession.setAuthenticationSelector
(AuthenticationSelector authenticationSelector) Sets the authentication selector to use for repositories discovered in artifact descriptors.DefaultRepositorySystemSession.setCache
(RepositoryCache cache) Sets the cache the repository system may use to save data for future reuse during the session.DefaultRepositorySystemSession.setChecksumPolicy
(String checksumPolicy) Sets the global checksum policy.DefaultRepositorySystemSession.setConfigProperties
(Map<?, ?> configProperties) Sets the configuration properties used to tweak internal aspects of the repository system (e.g.DefaultRepositorySystemSession.setConfigProperty
(String key, Object value) Sets the specified configuration property.DefaultRepositorySystemSession.setData
(SessionData data) Sets the custom data associated with this session.DefaultRepositorySystemSession.setDependencyGraphTransformer
(DependencyGraphTransformer dependencyGraphTransformer) Sets the dependency graph transformer to use for building dependency graphs.DefaultRepositorySystemSession.setDependencyManager
(DependencyManager dependencyManager) Sets the dependency manager to use for building dependency graphs.DefaultRepositorySystemSession.setDependencySelector
(DependencySelector dependencySelector) Sets the dependency selector to use for building dependency graphs.DefaultRepositorySystemSession.setDependencyTraverser
(DependencyTraverser dependencyTraverser) Sets the dependency traverser to use for building dependency graphs.DefaultRepositorySystemSession.setIgnoreArtifactDescriptorRepositories
(boolean ignoreArtifactDescriptorRepositories) Controls whether repositories declared in artifact descriptors should be ignored during transitive dependency collection.DefaultRepositorySystemSession.setLocalRepositoryManager
(LocalRepositoryManager localRepositoryManager) Sets the local repository manager used during this session.DefaultRepositorySystemSession.setMetadataUpdatePolicy
(String metadataUpdatePolicy) Sets the global metadata update policy.DefaultRepositorySystemSession.setMirrorSelector
(MirrorSelector mirrorSelector) Sets the mirror selector to use for repositories discovered in artifact descriptors.DefaultRepositorySystemSession.setOffline
(boolean offline) Controls whether the repository system operates in offline mode and avoids/refuses any access to remote repositories.DefaultRepositorySystemSession.setProxySelector
(ProxySelector proxySelector) Sets the proxy selector to use for repositories discovered in artifact descriptors.DefaultRepositorySystemSession.setRepositoryListener
(RepositoryListener repositoryListener) Sets the listener being notified of actions in the repository system.DefaultRepositorySystemSession.setResolutionErrorPolicy
(ResolutionErrorPolicy resolutionErrorPolicy) Sets the policy which controls whether resolutions errors from remote repositories should be cached.DefaultRepositorySystemSession.setSystemProperties
(Map<?, ?> systemProperties) Sets the system properties to use, e.g.DefaultRepositorySystemSession.setSystemProperty
(String key, String value) Sets the specified system property.DefaultRepositorySystemSession.setTransferListener
(TransferListener transferListener) Sets the listener being notified of uploads/downloads by the repository system.DefaultRepositorySystemSession.setUpdatePolicy
(String updatePolicy) Sets the global update policy.DefaultRepositorySystemSession.setUserProperties
(Map<?, ?> userProperties) Sets the user properties to use, e.g.DefaultRepositorySystemSession.setUserProperty
(String key, String value) Sets the specified user property.DefaultRepositorySystemSession.setVersionFilter
(VersionFilter versionFilter) Sets the version filter to use for building dependency graphs.DefaultRepositorySystemSession.setWorkspaceReader
(WorkspaceReader workspaceReader) Sets the workspace reader used during this session. -
Uses of DefaultRepositorySystemSession in org.eclipse.aether.internal.test.util
Modifier and TypeMethodDescriptionTestUtils.newSession()
Creates a new repository session whose local repository manager is initialized with an instance ofTestLocalRepositoryManager
. -
Uses of DefaultRepositorySystemSession in org.eclipse.aether.internal.test.util.http
Modifier and TypeFieldDescriptionprotected DefaultRepositorySystemSession
HttpTransporterTest.session