|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonatype.aether.spi.connector.Transfer
org.sonatype.aether.spi.connector.ArtifactTransfer
public abstract class ArtifactTransfer
A download/upload of an artifact.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.sonatype.aether.spi.connector.Transfer |
|---|
Transfer.State |
| Constructor Summary | |
|---|---|
ArtifactTransfer()
|
|
| Method Summary | |
|---|---|
Artifact |
getArtifact()
Gets the artifact being transferred. |
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(Artifact artifact)
Sets the artifact to transfer. |
ArtifactTransfer |
setException(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. |
| Methods inherited from class org.sonatype.aether.spi.connector.Transfer |
|---|
getState, getTrace, setState, setTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArtifactTransfer()
| Method Detail |
|---|
public Artifact getArtifact()
null if not set.public ArtifactTransfer setArtifact(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 ArtifactTransferException getException()
null if the transfer was successful.public ArtifactTransfer setException(ArtifactTransferException exception)
exception - The exception, may be null to denote a successful transfer.
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||