Interface ProjectArtifactsCache
- All Known Implementing Classes:
- DefaultProjectArtifactsCache
public interface ProjectArtifactsCache
Caches project artifacts. Warning: This is an internal utility interface that is only public for
 technical reasons, it is not part of the public API. In particular, this interface can be changed or deleted without
 prior notice.
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic classCacheRecordstatic interfaceA cache key.
- 
Method SummaryModifier and TypeMethodDescriptioncreateKey(MavenProject project, Collection<String> scopesToCollect, Collection<String> scopesToResolve, boolean aggregating, org.eclipse.aether.RepositorySystemSession session) voidflush()put(ProjectArtifactsCache.Key key, Set<Artifact> pluginArtifacts) voidregister(MavenProject project, ProjectArtifactsCache.Key cacheKey, ProjectArtifactsCache.CacheRecord record) Registers the specified cache record for usage with the given project.
- 
Method Details- 
createKeyProjectArtifactsCache.Key createKey(MavenProject project, Collection<String> scopesToCollect, Collection<String> scopesToResolve, boolean aggregating, org.eclipse.aether.RepositorySystemSession session) 
- 
getProjectArtifactsCache.CacheRecord get(ProjectArtifactsCache.Key key) throws LifecycleExecutionException - Throws:
- LifecycleExecutionException
 
- 
put
- 
put
- 
flushvoid flush()
- 
registervoid register(MavenProject project, ProjectArtifactsCache.Key cacheKey, ProjectArtifactsCache.CacheRecord record) Registers the specified cache record for usage with the given project. Integrators can use the information collected from this method in combination with a custom cache implementation to dispose unused records from the cache.- Parameters:
- 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.
 
 
-