Class Scanner


  • public class Scanner
    extends java.lang.Object
    Queries 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.String getVersionUri​(VersionedArtifact version)
      Build the version UTI for downloading the swagger, for the given version
      • Methods inherited from class java.lang.Object

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

      • Scanner

        public Scanner()
    • 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