Class LatestRelease

    • Constructor Summary

      Constructors 
      Constructor Description
      LatestRelease​(@Nullable java.lang.String metadataPattern)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Validated build​(java.lang.String toVersion, @Nullable java.lang.String metadataPattern)  
      int compare​(java.lang.String v1, java.lang.String v2)  
      boolean isValid​(java.lang.String version)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Comparator

        equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Constructor Detail

      • LatestRelease

        public LatestRelease​(@Nullable
                             @Nullable java.lang.String metadataPattern)
    • Method Detail

      • compare

        public int compare​(java.lang.String v1,
                           java.lang.String v2)
        Specified by:
        compare in interface java.util.Comparator<java.lang.String>