Class Transfer

  • Direct Known Subclasses:
    ArtifactTransfer, MetadataTransfer

    public abstract class Transfer
    extends java.lang.Object
    An artifact/metadata transfer.
    Restriction:
    This class is not intended to be extended by clients.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract java.lang.Exception getException()
      Gets the exception that occurred during the transfer (if any).
      org.eclipse.aether.transfer.TransferListener getListener()
      Gets the listener that is to be notified during the transfer.
      org.eclipse.aether.RequestTrace getTrace()
      Gets the trace information that describes the higher level request/operation in which this transfer is issued.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getException

        public abstract java.lang.Exception getException()
        Gets the exception that occurred during the transfer (if any).
        Returns:
        The exception or null if the transfer was successful.
      • getListener

        public org.eclipse.aether.transfer.TransferListener getListener()
        Gets the listener that is to be notified during the transfer.
        Returns:
        The transfer listener or null if none.
      • getTrace

        public org.eclipse.aether.RequestTrace 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 null if none.