Package org.apache.maven.plugin
Interface PluginDescriptorCache
- All Known Implementing Classes:
DefaultPluginDescriptorCache
public interface PluginDescriptorCache
Caches raw plugin descriptors. A raw plugin descriptor is a descriptor that has just been extracted from the plugin
artifact and does not contain any runtime specific data. The cache must not be used for descriptors that hold runtime
data like the plugin realm. 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.
- Since:
- 3.0
- Author:
- Benjamin Bentmann
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
A cache key.static interface
-
Method Summary
Modifier and TypeMethodDescriptioncreateKey
(Plugin plugin, List<org.eclipse.aether.repository.RemoteRepository> repositories, org.eclipse.aether.RepositorySystemSession session) void
flush()
default PluginDescriptor
void
put
(PluginDescriptorCache.Key key, PluginDescriptor pluginDescriptor)
-
Method Details
-
createKey
PluginDescriptorCache.Key createKey(Plugin plugin, List<org.eclipse.aether.repository.RemoteRepository> repositories, org.eclipse.aether.RepositorySystemSession session) -
put
-
get
-
get
-
flush
void flush()
-