Class VersionedArtifact

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

    public class VersionedArtifact
    extends java.lang.Object
    implements java.lang.Comparable<VersionedArtifact>
    An version of the artifact that can be compared to another for swagger diffs
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compareTo​(VersionedArtifact o)
      Sorted by semver version order
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VersionedArtifact

        public VersionedArtifact()
    • Method Detail

      • compareTo

        public int compareTo​(@NotNull
                             VersionedArtifact o)
        Sorted by semver version order
        Specified by:
        compareTo in interface java.lang.Comparable<VersionedArtifact>
        Parameters:
        o - the other entity
        Returns:
        the comparison identity