Class PeekTask
- java.lang.Object
-
- org.eclipse.aether.spi.connector.transport.TransportTask
-
- org.eclipse.aether.spi.connector.transport.PeekTask
-
public final class PeekTask extends TransportTask
A task to check the existence of a resource in the remote repository. Note: The listener returned fromTransportTask.getListener()
is always a noop given that none of its event methods are relevant in context of this task.- See Also:
Transporter.peek(PeekTask)
-
-
Constructor Summary
Constructors Constructor Description PeekTask(java.net.URI location)
Creates a new task for the specified remote resource.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
Methods inherited from class org.eclipse.aether.spi.connector.transport.TransportTask
getListener, getLocation
-
-
-
-
Constructor Detail
-
PeekTask
public PeekTask(java.net.URI location)
Creates a new task for the specified remote resource.- Parameters:
location
- The relative location of the resource in the remote repository, must not benull
.
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-