Package com.sonalake.swaggerlog.nexus
Class VersionedArtifact
- java.lang.Object
-
- com.sonalake.swaggerlog.nexus.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
-
-
Constructor Summary
Constructors Constructor Description VersionedArtifact()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(VersionedArtifact o)Sorted by semver version order
-
-
-
Method Detail
-
compareTo
public int compareTo(@NotNull VersionedArtifact o)Sorted by semver version order- Specified by:
compareToin interfacejava.lang.Comparable<VersionedArtifact>- Parameters:
o- the other entity- Returns:
- the comparison identity
-
-