Class PluginSpec


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

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

    • Constructor Detail

      • PluginSpec

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

        public PluginSpec​(@NonNull
                          String coordinates)
    • Method Detail

      • getName

        @NonNull
        public String getName()
      • getVersion

        @CheckForNull
        public String getVersion()
      • getVersionNumber

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

        public int hashCode()
        Overrides:
        hashCode in class Object