public interface ExtensionRealmCache
Modifier and Type | Interface and Description |
---|---|
static class |
ExtensionRealmCache.CacheRecord
CacheRecord
|
static interface |
ExtensionRealmCache.Key
A cache key.
|
Modifier and Type | Method and Description |
---|---|
ExtensionRealmCache.Key |
createKey(List<Artifact> extensionArtifacts) |
void |
flush() |
ExtensionRealmCache.CacheRecord |
get(ExtensionRealmCache.Key key) |
ExtensionRealmCache.CacheRecord |
put(ExtensionRealmCache.Key key,
org.codehaus.plexus.classworlds.realm.ClassRealm extensionRealm,
ExtensionDescriptor extensionDescriptor,
List<Artifact> artifacts) |
void |
register(MavenProject project,
ExtensionRealmCache.Key key,
ExtensionRealmCache.CacheRecord record)
Registers the specified cache record for usage with the given project.
|
ExtensionRealmCache.Key createKey(List<Artifact> extensionArtifacts)
ExtensionRealmCache.CacheRecord get(ExtensionRealmCache.Key key)
ExtensionRealmCache.CacheRecord put(ExtensionRealmCache.Key key, org.codehaus.plexus.classworlds.realm.ClassRealm extensionRealm, ExtensionDescriptor extensionDescriptor, List<Artifact> artifacts)
void flush()
void register(MavenProject project, ExtensionRealmCache.Key key, ExtensionRealmCache.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–2018 The Apache Software Foundation. All rights reserved.