DefaultExtensionRealmCachepublic interface ExtensionRealmCache
| Modifier and Type | Interface | Description |
|---|---|---|
static class |
ExtensionRealmCache.CacheRecord |
CacheRecord
|
static interface |
ExtensionRealmCache.Key |
A cache key.
|
| Modifier and Type | Method | Description |
|---|---|---|
ExtensionRealmCache.Key |
createKey(java.util.List<org.apache.maven.artifact.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,
java.util.List<org.apache.maven.artifact.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(java.util.List<org.apache.maven.artifact.Artifact> extensionArtifacts)
ExtensionRealmCache.CacheRecord get(ExtensionRealmCache.Key key)
ExtensionRealmCache.CacheRecord put(ExtensionRealmCache.Key key, org.codehaus.plexus.classworlds.realm.ClassRealm extensionRealm, ExtensionDescriptor extensionDescriptor, java.util.List<org.apache.maven.artifact.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.