Class TransportTask

  • Direct Known Subclasses:
    GetTask, PeekTask, PutTask

    public abstract class TransportTask
    extends java.lang.Object
    A transport task.
    Restriction:
    This class is not intended to be extended by clients.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      TransportListener getListener()
      Gets the listener that is to be notified during the transfer.
      java.net.URI getLocation()
      Gets the relative location of the affected resource in the remote repository.
      • Methods inherited from class java.lang.Object

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

      • getLocation

        public java.net.URI getLocation()
        Gets the relative location of the affected resource in the remote repository.
        Returns:
        The relative location of the resource, never null.
      • getListener

        public TransportListener getListener()
        Gets the listener that is to be notified during the transfer.
        Returns:
        The listener to notify of progress, never null.