Class DownloadedArtifactsLoggerImpl.DownloadedArtifactsImpl
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.DownloadedArtifactsLoggerImpl.DownloadedArtifactsImpl
-
- All Implemented Interfaces:
DownloadedArtifacts,DownloadedArtifactsEx
- Enclosing class:
- DownloadedArtifactsLoggerImpl
public class DownloadedArtifactsLoggerImpl.DownloadedArtifactsImpl extends Object implements DownloadedArtifactsEx
-
-
Constructor Summary
Constructors Constructor Description DownloadedArtifactsImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetActualNumberOfBuilds()Returns actual number of builds downloaded or provided artifacts (without applying user permissions)Map<Build,List<ArtifactInfo>>getArtifacts()Returns downloaded artifacts as map where build is key, and list of artifacts is valueSet<Long>getSourceBuildIds()
-
-
-
Method Detail
-
getArtifacts
@NotNull public Map<Build,List<ArtifactInfo>> getArtifacts()
Description copied from interface:DownloadedArtifactsReturns downloaded artifacts as map where build is key, and list of artifacts is value- Specified by:
getArtifactsin interfaceDownloadedArtifacts- Returns:
- downloaded artifacts
-
getActualNumberOfBuilds
public int getActualNumberOfBuilds()
Description copied from interface:DownloadedArtifactsReturns actual number of builds downloaded or provided artifacts (without applying user permissions)- Specified by:
getActualNumberOfBuildsin interfaceDownloadedArtifacts- Returns:
- see above
-
getSourceBuildIds
@NotNull public Set<Long> getSourceBuildIds()
- Specified by:
getSourceBuildIdsin interfaceDownloadedArtifactsEx- Returns:
- raw map of downloaded artifacts. This map may have ids of already deleted builds, as well as ids of builds not accessible to current user
-
-