Package jetbrains.buildServer.serverSide
Interface DownloadedArtifactsLogger
-
- All Known Subinterfaces:
DownloadedArtifactsLoggerEx
- All Known Implementing Classes:
DownloadedArtifactsLoggerImpl
public interface DownloadedArtifactsLogger
Tracks downloaded artifacts.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
buildArtifactsWereDownloaded(long sourceBuildId)
DownloadedArtifacts
getDownloadedArtifacts(long downloadedBy)
Returns list of artifacts downloaded by build with specified build idDownloadedArtifacts
getProvidedArtifacts(long downloadedFrom)
Returns list of artifacts provided by the build with specified id to other buildsvoid
logArtifactDownload(long downloadedBy, long downloadedFrom, String artifactPath)
Logs artifact download action into the database.
-
-
-
Method Detail
-
logArtifactDownload
void logArtifactDownload(long downloadedBy, long downloadedFrom, String artifactPath)
Logs artifact download action into the database.- Parameters:
downloadedBy
- id of a build which initiated artifact downloaddownloadedFrom
- id of a build from which the artifact was downloadedartifactPath
- path to a artifact
-
getDownloadedArtifacts
DownloadedArtifacts getDownloadedArtifacts(long downloadedBy)
Returns list of artifacts downloaded by build with specified build id- Parameters:
downloadedBy
- id of the build- Returns:
- list of downloaded artifacts
-
getProvidedArtifacts
DownloadedArtifacts getProvidedArtifacts(long downloadedFrom)
Returns list of artifacts provided by the build with specified id to other builds- Parameters:
downloadedFrom
- id of the build - artifacts provider- Returns:
- see above
-
buildArtifactsWereDownloaded
boolean buildArtifactsWereDownloaded(long sourceBuildId)
- Parameters:
sourceBuildId
- id of the build which provided artifacts- Returns:
- true if there are builds which downloaded artifacts from the build with specified id.
-
-