Package com.sonalake.swaggerlog.nexus
Class Scanner
- java.lang.Object
-
- com.sonalake.swaggerlog.nexus.Scanner
-
public class Scanner extends java.lang.ObjectQueries nexus for the swagger docs for a given artifact, sorts them, and then gets an ordered history for processing.
-
-
Constructor Summary
Constructors Constructor Description Scanner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<VersionStep>getHistory()Given the config, get the ordered history of diffable swaggers.java.lang.StringgetVersionUri(VersionedArtifact version)Build the version UTI for downloading the swagger, for the given version
-
-
-
Method Detail
-
getHistory
public java.util.List<VersionStep> getHistory()
Given the config, get the ordered history of diffable swaggers.- Returns:
- the list of versions
-
getVersionUri
public java.lang.String getVersionUri(VersionedArtifact version)
Build the version UTI for downloading the swagger, for the given version- Parameters:
version- The versioned artifact model- Returns:
- the URL to download this artifact
-
-