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, getTrace
public 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 Transfer
null
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–2019 The Apache Software Foundation. All rights reserved.