org.apache.maven.project
Interface ProjectRealmCache
- All Known Implementing Classes:
- DefaultProjectRealmCache
public interface ProjectRealmCache
Caches project class realms. 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.
- Author:
- Igor Fedorenko, Benjamin Bentmann
get
ProjectRealmCache.CacheRecord get(List<? extends ClassRealm> extensionRealms)
put
ProjectRealmCache.CacheRecord put(List<? extends ClassRealm> extensionRealms,
ClassRealm projectRealm,
org.eclipse.aether.graph.DependencyFilter extensionArtifactFilter)
flush
void flush()
register
void register(MavenProject project,
ProjectRealmCache.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
.
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.