org.apache.maven.cli
Class AbstractMavenTransferListener
java.lang.Object
org.apache.maven.cli.AbstractMavenTransferListener
- All Implemented Interfaces:
- ArtifactTransferListener
public abstract class AbstractMavenTransferListener
- extends java.lang.Object
- implements ArtifactTransferListener
|
Field Summary |
protected java.io.PrintStream |
out
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
out
protected java.io.PrintStream out
AbstractMavenTransferListener
protected AbstractMavenTransferListener(java.io.PrintStream out)
showEvent
protected boolean showEvent(ArtifactTransferEvent event)
transferInitiated
public void transferInitiated(ArtifactTransferEvent transferEvent)
- Specified by:
transferInitiated in interface ArtifactTransferListener
doInitiated
protected void doInitiated(ArtifactTransferEvent transferEvent)
transferStarted
public void transferStarted(ArtifactTransferEvent transferEvent)
- Specified by:
transferStarted in interface ArtifactTransferListener
doStarted
protected void doStarted(ArtifactTransferEvent transferEvent)
transferProgress
public void transferProgress(ArtifactTransferEvent transferEvent)
- Specified by:
transferProgress in interface ArtifactTransferListener
doProgress
protected void doProgress(ArtifactTransferEvent transferEvent)
transferCompleted
public void transferCompleted(ArtifactTransferEvent transferEvent)
- Specified by:
transferCompleted in interface ArtifactTransferListener
doCompleted
protected void doCompleted(ArtifactTransferEvent transferEvent)
toKB
protected long toKB(long bytes)
isShowChecksumEvents
public boolean isShowChecksumEvents()
- Specified by:
isShowChecksumEvents in interface ArtifactTransferListener
setShowChecksumEvents
public void setShowChecksumEvents(boolean showChecksumEvents)
- Specified by:
setShowChecksumEvents in interface ArtifactTransferListener
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.