MetadataDownload, MetadataUploadpublic abstract class MetadataTransfer extends Transfer
| Modifier and Type | Method | Description |
|---|---|---|
org.eclipse.aether.transfer.MetadataTransferException |
getException() |
Gets the exception that occurred during the transfer (if any).
|
java.io.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(java.io.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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetListener, 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 java.io.File getFile()
null if not set.public MetadataTransfer setFile(java.io.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.