RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.addOnSessionEndedHandler(java.lang.Runnable handler) |
Adds on session ended handler to be immediately registered when this builder creates session.
|
RepositorySystemSession.SessionBuilder |
RepositorySystem.createSessionBuilder() |
Creates a brand-new session builder instance that produces "top level" (root) session.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setArtifactDescriptorPolicy(ArtifactDescriptorPolicy artifactDescriptorPolicy) |
Sets the policy which controls how errors related to reading artifact descriptors should be handled.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setArtifactTypeRegistry(ArtifactTypeRegistry artifactTypeRegistry) |
Sets the registry of artifact types recognized by this session.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setArtifactUpdatePolicy(java.lang.String artifactUpdatePolicy) |
Sets the global artifact update policy.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setAuthenticationSelector(AuthenticationSelector authenticationSelector) |
Sets the authentication selector to use for repositories discovered in artifact descriptors.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setCache(RepositoryCache cache) |
Sets the cache the repository system may use to save data for future reuse during the session.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setChecksumPolicy(java.lang.String checksumPolicy) |
Sets the global checksum policy.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setConfigProperties(java.util.Map<?,?> configProperties) |
Sets the configuration properties used to tweak internal aspects of the repository system (e.g.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setConfigProperty(java.lang.String key,
java.lang.Object value) |
Sets the specified configuration property.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setData(SessionData data) |
Sets the custom data associated with this session.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setDependencyCollectionChecker(DependencyCollectionChecker dependencyCollectionChecker) |
Sets the dependency collection checker, may be null.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setDependencyGraphTransformer(DependencyGraphTransformer dependencyGraphTransformer) |
Sets the dependency graph transformer to use for building dependency graphs.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setDependencyManager(DependencyManager dependencyManager) |
Sets the dependency manager to use for building dependency graphs.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setDependencySelector(DependencySelector dependencySelector) |
Sets the dependency selector to use for building dependency graphs.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setDependencyTraverser(DependencyTraverser dependencyTraverser) |
Sets the dependency traverser to use for building dependency graphs.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setIgnoreArtifactDescriptorRepositories(boolean ignoreArtifactDescriptorRepositories) |
Controls whether repositories declared in artifact descriptors should be ignored during transitive dependency
collection.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setLocalRepositoryManager(LocalRepositoryManager localRepositoryManager) |
Sets the local repository manager used during this session.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setMetadataUpdatePolicy(java.lang.String metadataUpdatePolicy) |
Sets the global metadata update policy.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setMirrorSelector(MirrorSelector mirrorSelector) |
Sets the mirror selector to use for repositories discovered in artifact descriptors.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setOffline(boolean offline) |
Controls whether the repository system operates in offline mode and avoids/refuses any access to remote
repositories.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setProxySelector(ProxySelector proxySelector) |
Sets the proxy selector to use for repositories discovered in artifact descriptors.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setRepositoryCacheSupplier(java.util.function.Supplier<RepositoryCache> cacheSupplier) |
Sets the cache supplier for the repository system may use to save data for future reuse during the session.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setRepositoryListener(RepositoryListener repositoryListener) |
Sets the listener being notified of actions in the repository system.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setResolutionErrorPolicy(ResolutionErrorPolicy resolutionErrorPolicy) |
Sets the policy which controls whether resolutions errors from remote repositories should be cached.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setScopeManager(ScopeManager scopeManager) |
Sets the scope manager for session, may be null.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setSessionDataSupplier(java.util.function.Supplier<SessionData> dataSupplier) |
Sets the custom session data supplier associated with this session.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setSystemProperties(java.util.Map<?,?> systemProperties) |
Sets the system properties to use, e.g.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setSystemProperty(java.lang.String key,
java.lang.String value) |
Sets the specified system property.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setTransferListener(TransferListener transferListener) |
Sets the listener being notified of uploads/downloads by the repository system.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setUpdatePolicy(java.lang.String updatePolicy) |
Sets the global update policy.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setUserProperties(java.util.Map<?,?> userProperties) |
Sets the user properties to use, e.g.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setUserProperty(java.lang.String key,
java.lang.String value) |
Sets the specified user property.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setVersionFilter(VersionFilter versionFilter) |
Sets the version filter to use for building dependency graphs.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.setWorkspaceReader(WorkspaceReader workspaceReader) |
Sets the workspace reader used during this session.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.withLocalRepositories(java.util.Collection<LocalRepository> localRepositories) |
Shortcut method to set up local repository manager directly onto builder.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.withLocalRepositories(LocalRepository... localRepositories) |
Shortcut method to set up local repository manager directly onto builder.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.withLocalRepositoryBaseDirectories(java.nio.file.Path... baseDirectories) |
Shortcut method to set up local repository manager directly onto builder.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.withLocalRepositoryBaseDirectories(java.util.Collection<java.nio.file.Path> baseDirectories) |
Shortcut method to set up local repository manager directly onto builder.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.withRepositoryListener(java.util.Collection<RepositoryListener> repositoryListeners) |
Adds the listeners to be notified of actions in the repository system.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.withRepositoryListener(RepositoryListener... repositoryListeners) |
Adds the listeners to be notified of actions in the repository system.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.withRepositorySystemSession(RepositorySystemSession session) |
Shortcut method to shallow-copy passed in session into current builder.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.withTransferListener(java.util.Collection<TransferListener> transferListeners) |
Adds the listener to be notified of uploads/downloads by the repository system.
|
RepositorySystemSession.SessionBuilder |
RepositorySystemSession.SessionBuilder.withTransferListener(TransferListener... transferListeners) |
Adds the listener to be notified of uploads/downloads by the repository system.
|