public interface ProjectRealmCache
Modifier and Type | Interface and Description |
---|---|
static class |
ProjectRealmCache.CacheRecord
CacheRecord
|
static interface |
ProjectRealmCache.Key
A cache key.
|
Modifier and Type | Method and Description |
---|---|
ProjectRealmCache.Key |
createKey(List<? extends org.codehaus.plexus.classworlds.realm.ClassRealm> extensionRealms) |
void |
flush() |
ProjectRealmCache.CacheRecord |
get(ProjectRealmCache.Key key) |
ProjectRealmCache.CacheRecord |
put(ProjectRealmCache.Key key,
org.codehaus.plexus.classworlds.realm.ClassRealm projectRealm,
org.eclipse.aether.graph.DependencyFilter extensionArtifactFilter) |
void |
register(MavenProject project,
ProjectRealmCache.Key key,
ProjectRealmCache.CacheRecord record)
Registers the specified cache record for usage with the given project.
|
ProjectRealmCache.Key createKey(List<? extends org.codehaus.plexus.classworlds.realm.ClassRealm> extensionRealms)
ProjectRealmCache.CacheRecord get(ProjectRealmCache.Key key)
ProjectRealmCache.CacheRecord put(ProjectRealmCache.Key key, org.codehaus.plexus.classworlds.realm.ClassRealm projectRealm, org.eclipse.aether.graph.DependencyFilter extensionArtifactFilter)
void flush()
void register(MavenProject project, ProjectRealmCache.Key key, ProjectRealmCache.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.