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.TransferListenerorg.eclipse.aether.transfer.TransferCancelledExceptionpublic void transferProgressed(org.eclipse.aether.transfer.TransferEvent event)
throws org.eclipse.aether.transfer.TransferCancelledException
transferProgressed in interface org.eclipse.aether.transfer.TransferListenerorg.eclipse.aether.transfer.TransferCancelledExceptionpublic void transferStarted(org.eclipse.aether.transfer.TransferEvent event)
transferStarted in interface org.eclipse.aether.transfer.TransferListenerpublic void transferCorrupted(org.eclipse.aether.transfer.TransferEvent event)
transferCorrupted in interface org.eclipse.aether.transfer.TransferListenerpublic void transferSucceeded(org.eclipse.aether.transfer.TransferEvent event)
transferSucceeded in interface org.eclipse.aether.transfer.TransferListenerpublic void transferFailed(org.eclipse.aether.transfer.TransferEvent event)
transferFailed in interface org.eclipse.aether.transfer.TransferListenerprotected 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.OperationCanceledExceptionprotected void transferCompleted(String artifactUrl)
Copyright © 2005–2021 Eclipse Foundation. All rights reserved.