public interface PluginArtifactsCache
Modifier and Type | Interface and Description |
---|---|
static class |
PluginArtifactsCache.CacheRecord
CacheRecord
|
static interface |
PluginArtifactsCache.Key
A cache key.
|
Modifier and Type | Method and Description |
---|---|
PluginArtifactsCache.Key |
createKey(Plugin plugin,
org.eclipse.aether.graph.DependencyFilter extensionFilter,
List<org.eclipse.aether.repository.RemoteRepository> repositories,
org.eclipse.aether.RepositorySystemSession session) |
void |
flush() |
PluginArtifactsCache.CacheRecord |
get(PluginArtifactsCache.Key key) |
PluginArtifactsCache.CacheRecord |
put(PluginArtifactsCache.Key key,
List<Artifact> pluginArtifacts) |
PluginArtifactsCache.CacheRecord |
put(PluginArtifactsCache.Key key,
PluginResolutionException e) |
void |
register(MavenProject project,
PluginArtifactsCache.Key cacheKey,
PluginArtifactsCache.CacheRecord record)
Registers the specified cache record for usage with the given project.
|
PluginArtifactsCache.Key createKey(Plugin plugin, org.eclipse.aether.graph.DependencyFilter extensionFilter, List<org.eclipse.aether.repository.RemoteRepository> repositories, org.eclipse.aether.RepositorySystemSession session)
PluginArtifactsCache.CacheRecord get(PluginArtifactsCache.Key key) throws PluginResolutionException
PluginResolutionException
PluginArtifactsCache.CacheRecord put(PluginArtifactsCache.Key key, List<Artifact> pluginArtifacts)
void flush()
void register(MavenProject project, PluginArtifactsCache.Key cacheKey, PluginArtifactsCache.CacheRecord record)
project
- The project that employs the plugin realm, must not be null
.record
- The cache record being used for the project, must not be null
.Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.