org.eclipse.aether.spi.connector.transport

## Class TransportTask

- java.lang.Object
- - org.eclipse.aether.spi.connector.transport.TransportTask

- Direct Known Subclasses:
    GetTask, PeekTask, PutTask

      public abstract class TransportTask
      extends Object

  A transport task.
  Restriction:
    This class is not intended to be extended by clients.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `TransportListener` | `getListener()` Gets the listener that is to be notified during the transfer.
    `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 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`.

Copyright © 2010-2014 The Eclipse Foundation. All Rights Reserved.