ArtifactDownload, ArtifactUploadpublic abstract class ArtifactTransfer extends Transfer
| Modifier and Type | Method | Description |
|---|---|---|
org.eclipse.aether.artifact.Artifact |
getArtifact() |
Gets the artifact being transferred.
|
org.eclipse.aether.transfer.ArtifactTransferException |
getException() |
Gets the exception that occurred during the transfer (if any).
|
java.io.File |
getFile() |
Gets the local file the artifact is downloaded to or uploaded from.
|
ArtifactTransfer |
setArtifact(org.eclipse.aether.artifact.Artifact artifact) |
Sets the artifact to transfer.
|
ArtifactTransfer |
setException(org.eclipse.aether.transfer.ArtifactTransferException exception) |
Sets the exception that occurred during the transfer.
|
ArtifactTransfer |
setFile(java.io.File file) |
Sets the local file the artifact is downloaded to or uploaded from.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetListener, getTracepublic org.eclipse.aether.artifact.Artifact getArtifact()
null if not set.public ArtifactTransfer setArtifact(org.eclipse.aether.artifact.Artifact artifact)
artifact - The artifact, may be null.null.public java.io.File getFile()
null if not set.public ArtifactTransfer setFile(java.io.File file)
file - The local file, may be null.null.public org.eclipse.aether.transfer.ArtifactTransferException getException()
getException in class Transfernull if the transfer was successful.public ArtifactTransfer setException(org.eclipse.aether.transfer.ArtifactTransferException exception)
exception - The exception, may be null to denote a successful transfer.null.