public interface PluginArtifactsCache
| Modifier and Type | Interface and Description | 
|---|---|
| static class  | PluginArtifactsCache.CacheRecordCacheRecord | 
| static interface  | PluginArtifactsCache.KeyA cache key. | 
| Modifier and Type | Method and Description | 
|---|---|
| PluginArtifactsCache.Key | createKey(Plugin plugin,
         DependencyFilter extensionFilter,
         List<RemoteRepository> repositories,
         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, DependencyFilter extensionFilter, List<RemoteRepository> repositories, RepositorySystemSession session)
PluginArtifactsCache.CacheRecord get(PluginArtifactsCache.Key key) throws PluginResolutionException
PluginResolutionExceptionPluginArtifactsCache.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–2021 The Apache Software Foundation. All rights reserved.