java.lang.Object
org.jenkinsci.test.acceptance.update_center.PluginSpec

public class PluginSpec extends Object
Reference to a plugin, optionally with the version.

The string syntax of this is shortName[@version].

  • Constructor Details

    • PluginSpec

      public PluginSpec(@NonNull String name, String version)
    • PluginSpec

      public PluginSpec(@NonNull String coordinates)
  • Method Details

    • getName

      @NonNull public String getName()
    • getVersion

      @CheckForNull public String getVersion()
    • getVersionNumber

      @CheckForNull public hudson.util.VersionNumber getVersionNumber()
    • toString

      public String toString()
      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