Interface DownloadableArtifact
-
- All Known Implementing Classes:
AbstractDownloadableArtifact,ArchiveBasedArtifact,FileDownloadableArtifact
public interface DownloadableArtifact
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceDownloadableArtifact.DownloadedArtifact
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DownloadableArtifact.DownloadedArtifactdownload()perform downloading and resolving the artifactArtifactInfogetArtifactInfo()StringgetArtifactPath()FilegetTargetFile()
-
-
-
Method Detail
-
getArtifactPath
String getArtifactPath()
- Returns:
- relative path of this artifact on server
-
download
DownloadableArtifact.DownloadedArtifact download() throws ResolvingFailedException
perform downloading and resolving the artifact- Returns:
- count of processed files
- Throws:
ResolvingFailedException
-
getTargetFile
File getTargetFile()
- Returns:
- file on agent where downloaded artifact will be stored, the file may not exist
-
getArtifactInfo
ArtifactInfo getArtifactInfo()
-
-