org.apache.maven.plugin.prefix.internal
Class DefaultPluginPrefixResolver

java.lang.Object
  extended by 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
DefaultPluginPrefixResolver()
           
 
Method Summary
 PluginPrefixResult resolve(PluginPrefixRequest request)
          Resolves the plugin prefix for the specified request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPluginPrefixResolver

public DefaultPluginPrefixResolver()
Method Detail

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 interface PluginPrefixResolver
Parameters:
request - The request that holds the details about the plugin and the repositories to consult, must not be null.
Returns:
The result of the prefix resolution, never null.
Throws:
NoPluginFoundForPrefixException - If the plugin prefix could not be resolved.


Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.