public class ArtifactTransferListenerAdapter extends Object implements org.eclipse.aether.transfer.TransferListener
Modifier and Type | Field and Description |
---|---|
protected MavenImpl |
maven |
protected org.eclipse.core.runtime.IProgressMonitor |
monitor |
protected Map<String,Long> |
progressMap |
Modifier and Type | Method and Description |
---|---|
protected void |
formatBytes(long n,
StringBuilder sb) |
protected void |
transferCompleted(String artifactUrl) |
void |
transferCorrupted(org.eclipse.aether.transfer.TransferEvent event) |
protected void |
transferError(String artifactUrl,
Exception exception) |
void |
transferFailed(org.eclipse.aether.transfer.TransferEvent event) |
protected void |
transferInitiated(String artifactUrl) |
void |
transferInitiated(org.eclipse.aether.transfer.TransferEvent event) |
protected void |
transferProgress(String artifactUrl,
long total,
int length) |
void |
transferProgressed(org.eclipse.aether.transfer.TransferEvent event) |
protected void |
transferStarted(String artifactUrl) |
void |
transferStarted(org.eclipse.aether.transfer.TransferEvent event) |
void |
transferSucceeded(org.eclipse.aether.transfer.TransferEvent event) |
protected final MavenImpl maven
protected final org.eclipse.core.runtime.IProgressMonitor monitor
public void transferInitiated(org.eclipse.aether.transfer.TransferEvent event) throws org.eclipse.aether.transfer.TransferCancelledException
transferInitiated
in interface org.eclipse.aether.transfer.TransferListener
org.eclipse.aether.transfer.TransferCancelledException
public void transferProgressed(org.eclipse.aether.transfer.TransferEvent event) throws org.eclipse.aether.transfer.TransferCancelledException
transferProgressed
in interface org.eclipse.aether.transfer.TransferListener
org.eclipse.aether.transfer.TransferCancelledException
public void transferStarted(org.eclipse.aether.transfer.TransferEvent event)
transferStarted
in interface org.eclipse.aether.transfer.TransferListener
public void transferCorrupted(org.eclipse.aether.transfer.TransferEvent event)
transferCorrupted
in interface org.eclipse.aether.transfer.TransferListener
public void transferSucceeded(org.eclipse.aether.transfer.TransferEvent event)
transferSucceeded
in interface org.eclipse.aether.transfer.TransferListener
public void transferFailed(org.eclipse.aether.transfer.TransferEvent event)
transferFailed
in interface org.eclipse.aether.transfer.TransferListener
protected void formatBytes(long n, StringBuilder 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–2015 Sonatype, Inc.. All rights reserved.