Class VersionInfo

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

    public class VersionInfo
    extends java.lang.Object
    implements java.lang.Comparable<VersionInfo>
    Data class for reading version.txt in https://github.com/AuroraLS3/Plan-PlayerAnalytics.
    • Constructor Detail

      • VersionInfo

        public VersionInfo​(boolean release,
                           java.lang.String version,
                           java.lang.String downloadUrl,
                           java.lang.String changeLogUrl)
      • VersionInfo

        public VersionInfo​(boolean release,
                           VersionNumber version,
                           java.lang.String downloadUrl,
                           java.lang.String changeLogUrl)
    • Method Detail

      • isRelease

        public boolean isRelease()
      • getDownloadUrl

        public java.lang.String getDownloadUrl()
      • getChangeLogUrl

        public java.lang.String getChangeLogUrl()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • compareTo

        public int compareTo​(VersionInfo o)
        Specified by:
        compareTo in interface java.lang.Comparable<VersionInfo>