Package org.eclipse.aether.spi.connector
Class Transfer
java.lang.Object
org.eclipse.aether.spi.connector.Transfer
- Direct Known Subclasses:
ArtifactTransfer,MetadataTransfer
An artifact/metadata transfer.
- Restriction:
- This class is not intended to be extended by clients.
-
Method Summary
Modifier and TypeMethodDescriptionabstract ExceptionGets the exception that occurred during the transfer (if any).org.eclipse.aether.transfer.TransferListenerGets the listener that is to be notified during the transfer.org.eclipse.aether.RequestTracegetTrace()Gets the trace information that describes the higher level request/operation in which this transfer is issued.
-
Method Details
-
getException
Gets the exception that occurred during the transfer (if any).- Returns:
- The exception or
nullif the transfer was successful.
-
getListener
Gets the listener that is to be notified during the transfer.- Returns:
- The transfer listener or
nullif none.
-
getTrace
Gets the trace information that describes the higher level request/operation in which this transfer is issued.- Returns:
- The trace information about the higher level operation or
nullif none.
-