Class DefaultPluginPrefixResolver
java.lang.Object
org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver
- All Implemented Interfaces:
PluginPrefixResolver
@Component(role=PluginPrefixResolver.class)
public class DefaultPluginPrefixResolver
extends Object
implements PluginPrefixResolver
Resolves a plugin prefix.
- Since:
- 3.0
- Author:
- Benjamin Bentmann
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionresolve
(PluginPrefixRequest request) Resolves the plugin prefix for the specified request.
-
Constructor Details
-
DefaultPluginPrefixResolver
public DefaultPluginPrefixResolver()
-
-
Method Details
-
resolve
public PluginPrefixResult resolve(PluginPrefixRequest request) throws NoPluginFoundForPrefixException Description copied from interface:PluginPrefixResolver
Resolves the plugin prefix for the specified request.- Specified by:
resolve
in interfacePluginPrefixResolver
- Parameters:
request
- The request that holds the details about the plugin and the repositories to consult, must not benull
.- Returns:
- The result of the prefix resolution, never
null
. - Throws:
NoPluginFoundForPrefixException
- If the plugin prefix could not be resolved.
-