public interface ProjectArtifactsCache
Modifier and Type | Interface and Description |
---|---|
static class |
ProjectArtifactsCache.CacheRecord
CacheRecord
|
static interface |
ProjectArtifactsCache.Key
A cache key.
|
Modifier and Type | Method and Description |
---|---|
ProjectArtifactsCache.Key |
createKey(MavenProject project,
Collection<String> scopesToCollect,
Collection<String> scopesToResolve,
boolean aggregating,
org.eclipse.aether.RepositorySystemSession session) |
void |
flush() |
ProjectArtifactsCache.CacheRecord |
get(ProjectArtifactsCache.Key key) |
ProjectArtifactsCache.CacheRecord |
put(ProjectArtifactsCache.Key key,
LifecycleExecutionException e) |
ProjectArtifactsCache.CacheRecord |
put(ProjectArtifactsCache.Key key,
Set<Artifact> pluginArtifacts) |
void |
register(MavenProject project,
ProjectArtifactsCache.Key cacheKey,
ProjectArtifactsCache.CacheRecord record)
Registers the specified cache record for usage with the given project.
|
ProjectArtifactsCache.Key createKey(MavenProject project, Collection<String> scopesToCollect, Collection<String> scopesToResolve, boolean aggregating, org.eclipse.aether.RepositorySystemSession session)
ProjectArtifactsCache.CacheRecord get(ProjectArtifactsCache.Key key) throws LifecycleExecutionException
LifecycleExecutionException
ProjectArtifactsCache.CacheRecord put(ProjectArtifactsCache.Key key, Set<Artifact> pluginArtifacts)
ProjectArtifactsCache.CacheRecord put(ProjectArtifactsCache.Key key, LifecycleExecutionException e)
void flush()
void register(MavenProject project, ProjectArtifactsCache.Key cacheKey, ProjectArtifactsCache.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.