Class ApplicationVersion

  • All Implemented Interfaces:
    java.lang.Comparable<ApplicationVersion>

    public class ApplicationVersion
    extends java.lang.Object
    implements java.lang.Comparable<ApplicationVersion>
    Class to represent an application's version information.

    The version format is \d\.\d(\.\d)?(\-.+)?

    Note: this class has a natural ordering that is inconsistent with equals (the tag part of the version is disregarded in the compareTo(ApplicationVersion) method).

    Examples:

  • 7.4
  • 7.4.1
  • 7.4.1-BETA