Class ConsoleTransferListener

java.lang.Object
org.eclipse.aether.transfer.AbstractTransferListener
org.jenkinsci.test.acceptance.utils.aether.ConsoleTransferListener
All Implemented Interfaces:
org.eclipse.aether.transfer.TransferListener

public class ConsoleTransferListener extends org.eclipse.aether.transfer.AbstractTransferListener
A simplistic transfer listener that logs uploads/downloads to the console.
  • Constructor Details

    • ConsoleTransferListener

      public ConsoleTransferListener()
    • ConsoleTransferListener

      public ConsoleTransferListener(PrintStream out)
  • Method Details

    • transferInitiated

      public void transferInitiated(org.eclipse.aether.transfer.TransferEvent event)
      Specified by:
      transferInitiated in interface org.eclipse.aether.transfer.TransferListener
      Overrides:
      transferInitiated in class org.eclipse.aether.transfer.AbstractTransferListener
    • transferProgressed

      public void transferProgressed(org.eclipse.aether.transfer.TransferEvent event)
      Specified by:
      transferProgressed in interface org.eclipse.aether.transfer.TransferListener
      Overrides:
      transferProgressed in class org.eclipse.aether.transfer.AbstractTransferListener
    • transferSucceeded

      public void transferSucceeded(org.eclipse.aether.transfer.TransferEvent event)
      Specified by:
      transferSucceeded in interface org.eclipse.aether.transfer.TransferListener
      Overrides:
      transferSucceeded in class org.eclipse.aether.transfer.AbstractTransferListener
    • transferFailed

      public void transferFailed(org.eclipse.aether.transfer.TransferEvent event)
      Specified by:
      transferFailed in interface org.eclipse.aether.transfer.TransferListener
      Overrides:
      transferFailed in class org.eclipse.aether.transfer.AbstractTransferListener
    • transferCorrupted

      public void transferCorrupted(org.eclipse.aether.transfer.TransferEvent event)
      Specified by:
      transferCorrupted in interface org.eclipse.aether.transfer.TransferListener
      Overrides:
      transferCorrupted in class org.eclipse.aether.transfer.AbstractTransferListener
    • toKB

      protected long toKB(long bytes)