Package org.apache.maven.plugin
Interface PluginDescriptorCache
-
- All Known Implementing Classes:
DefaultPluginDescriptorCache
public interface PluginDescriptorCacheCaches 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
Nested Classes Modifier and Type Interface Description static interfacePluginDescriptorCache.KeyA cache key.static interfacePluginDescriptorCache.PluginDescriptorSupplier
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PluginDescriptorCache.KeycreateKey(org.apache.maven.model.Plugin plugin, java.util.List<org.eclipse.aether.repository.RemoteRepository> repositories, org.eclipse.aether.RepositorySystemSession session)voidflush()org.apache.maven.plugin.descriptor.PluginDescriptorget(PluginDescriptorCache.Key key)default org.apache.maven.plugin.descriptor.PluginDescriptorget(PluginDescriptorCache.Key key, PluginDescriptorCache.PluginDescriptorSupplier supplier)voidput(PluginDescriptorCache.Key key, org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor)
-
-
-
Method Detail
-
createKey
PluginDescriptorCache.Key createKey(org.apache.maven.model.Plugin plugin, java.util.List<org.eclipse.aether.repository.RemoteRepository> repositories, org.eclipse.aether.RepositorySystemSession session)
-
put
void put(PluginDescriptorCache.Key key, org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor)
-
get
org.apache.maven.plugin.descriptor.PluginDescriptor get(PluginDescriptorCache.Key key)
-
get
default org.apache.maven.plugin.descriptor.PluginDescriptor get(PluginDescriptorCache.Key key, PluginDescriptorCache.PluginDescriptorSupplier supplier) throws PluginResolutionException, PluginDescriptorParsingException, InvalidPluginDescriptorException
-
flush
void flush()
-
-