hudson.maven
Class PluginName

java.lang.Object
  extended by hudson.maven.PluginName

public final class PluginName
extends Object

Identifier of a specific version of a Maven plugin that consists of groupId, artifactId, and version.

Author:
Kohsuke Kawaguchi

Field Summary
 String artifactId
           
 String groupId
           
 String version
           
 
Constructor Summary
PluginName(org.apache.maven.plugin.descriptor.PluginDescriptor pd)
           
PluginName(String groupId, String artifactId, String version)
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 boolean matches(String groupId, String artifactId)
           
 String toString()
          Returns the "groupId:artifactId:version" form.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

groupId

public final String groupId

artifactId

public final String artifactId

version

public final String version
Constructor Detail

PluginName

public PluginName(String groupId,
                  String artifactId,
                  String version)

PluginName

public PluginName(org.apache.maven.plugin.descriptor.PluginDescriptor pd)
Method Detail

toString

public String toString()
Returns the "groupId:artifactId:version" form.

Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

matches

public boolean matches(String groupId,
                       String artifactId)


Copyright © 2004-2013. All Rights Reserved.