public abstract class MetadataTransfer extends Transfer
| Modifier and Type | Method and Description |
|---|---|
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.
|
Metadata |
getMetadata()
Gets the metadata being transferred.
|
MetadataTransfer |
setException(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(Metadata metadata)
Sets the metadata to transfer.
|
getListener, getTracepublic Metadata getMetadata()
null if not set.public MetadataTransfer setMetadata(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 MetadataTransferException getException()
getException in class Transfernull if the transfer was successful.public MetadataTransfer setException(MetadataTransferException exception)
exception - The exception, may be null to denote a successful transfer.null.Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.