Class TransportTask
java.lang.Object
org.eclipse.aether.spi.connector.transport.TransportTask
A transport task.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final byte[]
private TransportListener
private URI
(package private) static final TransportListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the listener that is to be notified during the transfer.Gets the relative location of the affected resource in the remote repository.(package private) TransportTask
setListener
(TransportListener listener) Sets the listener that is to be notified during the transfer.(package private) TransportTask
setLocation
(URI location)
-
Field Details
-
NOOP
-
EMPTY
static final byte[] EMPTY -
location
-
listener
-
-
Constructor Details
-
TransportTask
TransportTask()
-
-
Method Details
-
getLocation
Gets the relative location of the affected resource in the remote repository.- Returns:
- The relative location of the resource, never
null
.
-
setLocation
-
getListener
Gets the listener that is to be notified during the transfer.- Returns:
- The listener to notify of progress, never
null
.
-
setListener
Sets the listener that is to be notified during the transfer.- Parameters:
listener
- The listener to notify of progress, may benull
.- Returns:
- This task for chaining, never
null
.
-