Class LoggingProgressReport

    • Constructor Detail

      • LoggingProgressReport

        public LoggingProgressReport​(org.apache.maven.plugin.logging.Log log)
    • Method Detail

      • initiate

        public void initiate​(URI uri,
                             long total)
        Description copied from interface: ProgressReport
        Triggered to signal initiation of a download operation.
        Specified by:
        initiate in interface ProgressReport
        Parameters:
        uri - the URI of the resource being downloaded
        total - the total length of resource content.
      • update

        public void update​(long bytesRead)
        Description copied from interface: ProgressReport
        Triggered to signal successful retrieval of a chunk of the resource content.
        Specified by:
        update in interface ProgressReport
        Parameters:
        bytesRead - the number of bytes retrieved.
      • completed

        public void completed()
        Description copied from interface: ProgressReport
        Triggered to signal completion of the download operation.
        Specified by:
        completed in interface ProgressReport
      • error

        public void error​(Exception ex)
        Description copied from interface: ProgressReport
        Triggered to signal an error occurred during the download operation.
        Specified by:
        error in interface ProgressReport