Class LatestLexicographicStrategy

All Implemented Interfaces:
LatestStrategy

public class LatestLexicographicStrategy extends ComparatorLatestStrategy
  • Field Details

    • COMPARATOR

      private static final Comparator<ArtifactInfo> COMPARATOR
      Compares two revisions. Revisions are compared lexicographically unless a 'latest' revision is found. If the latest revision found is an absolute latest (latest. like), then it is assumed to be the greater. If a partial latest is found, then it is assumed to be greater than any matching fixed revision.
  • Constructor Details

    • LatestLexicographicStrategy

      public LatestLexicographicStrategy()