Class Version


  • public class Version
    extends java.lang.Object
    • Method Detail

      • of

        public static Version of​(java.lang.String version)
                          throws java.lang.IllegalArgumentException
        Throws:
        java.lang.IllegalArgumentException
      • getMajor

        public int getMajor()
      • incrementMajor

        public Version incrementMajor()
      • getMinor

        public int getMinor()
      • incrementMinor

        public Version incrementMinor()
      • getPatch

        public int getPatch()
      • incrementPatch

        public Version incrementPatch()
      • getPreRelease

        public int getPreRelease()
      • incrementPreRelease

        public Version incrementPreRelease()
      • toVersionString

        public java.lang.String toVersionString​(boolean includePreRelease)