Class MavenVersion

java.lang.Object
org.jenkinsci.plugins.pipeline.maven.util.MavenVersion

public class MavenVersion extends Object
  • Field Details

  • Constructor Details

    • MavenVersion

      public MavenVersion(int major, int minor, int increment)
  • Method Details

    • fromString

      public static MavenVersion fromString(String str)
    • isAtLeast

      public boolean isAtLeast(int wantedMajor, int wantedMinor)
    • isAtLeast

      public boolean isAtLeast(int wantedMajor, int wantedMinor, int wantedIncrement)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

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