Class GwtVersion


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

      • parse

        public static GwtVersion parse​(java.lang.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:
        java.lang.IllegalArgumentException - if any of the passed arguments are invalid
      • getMajor

        public int getMajor()
      • getMinor

        public int getMinor()
      • getPatch

        public java.lang.String getPatch()
      • toString

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

        public boolean isAtLeast​(int majorMin,
                                 int minorMin)