public abstract class MetadataTransfer extends Transfer
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.aether.transfer.MetadataTransferException |
getException()
Gets the exception that occurred during the transfer (if any).
|
File |
getFile()
Gets the local file the metadata is downloaded to or uploaded from.
|
org.eclipse.aether.metadata.Metadata |
getMetadata()
Gets the metadata being transferred.
|
MetadataTransfer |
setException(org.eclipse.aether.transfer.MetadataTransferException exception)
Sets the exception that occurred during the transfer.
|
MetadataTransfer |
setFile(File file)
Sets the local file the metadata is downloaded to or uploaded from.
|
MetadataTransfer |
setMetadata(org.eclipse.aether.metadata.Metadata metadata)
Sets the metadata to transfer.
|
getListener, getTracepublic org.eclipse.aether.metadata.Metadata getMetadata()
null if not set.public MetadataTransfer setMetadata(org.eclipse.aether.metadata.Metadata metadata)
metadata - The metadata, may be null.null.public File getFile()
null if not set.public MetadataTransfer setFile(File file)
file - The local file, may be null.null.public org.eclipse.aether.transfer.MetadataTransferException getException()
getException in class Transfernull if the transfer was successful.public MetadataTransfer setException(org.eclipse.aether.transfer.MetadataTransferException exception)
exception - The exception, may be null to denote a successful transfer.null.Copyright © 2010-2015 The Eclipse Foundation. All Rights Reserved.