public class ArtifactTransferListenerAdapter extends Object implements org.sonatype.aether.transfer.TransferListener
Modifier and Type | Field and Description |
---|---|
protected long |
complete |
protected MavenImpl |
maven |
protected org.eclipse.core.runtime.IProgressMonitor |
monitor |
Modifier and Type | Method and Description |
---|---|
protected void |
formatBytes(long n,
StringBuffer sb) |
protected void |
transferCompleted(String artifactUrl) |
void |
transferCorrupted(org.sonatype.aether.transfer.TransferEvent event) |
protected void |
transferError(String artifactUrl,
Exception exception) |
void |
transferFailed(org.sonatype.aether.transfer.TransferEvent event) |
protected void |
transferInitiated(String artifactUrl) |
void |
transferInitiated(org.sonatype.aether.transfer.TransferEvent event) |
protected void |
transferProgress(String artifactUrl,
long total,
int length) |
void |
transferProgressed(org.sonatype.aether.transfer.TransferEvent event) |
protected void |
transferStarted(String artifactUrl) |
void |
transferStarted(org.sonatype.aether.transfer.TransferEvent event) |
void |
transferSucceeded(org.sonatype.aether.transfer.TransferEvent event) |
protected final MavenImpl maven
protected final org.eclipse.core.runtime.IProgressMonitor monitor
protected long complete
public void transferInitiated(org.sonatype.aether.transfer.TransferEvent event) throws org.sonatype.aether.transfer.TransferCancelledException
transferInitiated
in interface org.sonatype.aether.transfer.TransferListener
org.sonatype.aether.transfer.TransferCancelledException
public void transferProgressed(org.sonatype.aether.transfer.TransferEvent event) throws org.sonatype.aether.transfer.TransferCancelledException
transferProgressed
in interface org.sonatype.aether.transfer.TransferListener
org.sonatype.aether.transfer.TransferCancelledException
public void transferStarted(org.sonatype.aether.transfer.TransferEvent event)
transferStarted
in interface org.sonatype.aether.transfer.TransferListener
public void transferCorrupted(org.sonatype.aether.transfer.TransferEvent event)
transferCorrupted
in interface org.sonatype.aether.transfer.TransferListener
public void transferSucceeded(org.sonatype.aether.transfer.TransferEvent event)
transferSucceeded
in interface org.sonatype.aether.transfer.TransferListener
public void transferFailed(org.sonatype.aether.transfer.TransferEvent event)
transferFailed
in interface org.sonatype.aether.transfer.TransferListener
protected void formatBytes(long n, StringBuffer sb)
protected void transferInitiated(String artifactUrl)
protected void transferStarted(String artifactUrl)
protected void transferProgress(String artifactUrl, long total, int length) throws org.eclipse.core.runtime.OperationCanceledException
org.eclipse.core.runtime.OperationCanceledException
protected void transferCompleted(String artifactUrl)
Copyright © 2005–2013 Sonatype, Inc.. All rights reserved.