Interface DownloadableArtifact
-
- All Known Implementing Classes:
AbstractDownloadableArtifact
,ArchiveBasedArtifact
,FileDownloadableArtifact
public interface DownloadableArtifact
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
DownloadableArtifact.DownloadedArtifact
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DownloadableArtifact.DownloadedArtifact
download()
perform downloading and resolving the artifactArtifactInfo
getArtifactInfo()
String
getArtifactPath()
File
getTargetFile()
-
-
-
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()
-
-