Package hudson.maven

Class PluginName

java.lang.Object
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 Details

    • groupId

      public final String groupId
    • artifactId

      public final String artifactId
    • version

      public final String version
  • Constructor Details

    • PluginName

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

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

    • 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)