Class GwtVersion

java.lang.Object
org.docstr.gradle.plugins.gwt.internal.GwtVersion

public final class GwtVersion extends Object
A representation of a parsed GWT version string.
  • Method Details

    • parse

      public static GwtVersion parse(String gwtVersion)
      Parameters:
      gwtVersion - the gwt version string to be parsed
      Returns:
      a newly created GwtVersion instance representing the parsed GWT version string argument. null if gwtVersion is null or empty.
      Throws:
      IllegalArgumentException - if any of the passed arguments are invalid
    • getMajor

      public int getMajor()
    • getMinor

      public int getMinor()
    • getPatch

      public String getPatch()
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
      the original parsed string
    • isAtLeast

      public boolean isAtLeast(int majorMin, int minorMin)