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 int
getActualNumberOfBuilds()
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:DownloadedArtifacts
Returns downloaded artifacts as map where build is key, and list of artifacts is value- Specified by:
getArtifacts
in interfaceDownloadedArtifacts
- Returns:
- downloaded artifacts
-
getActualNumberOfBuilds
public int getActualNumberOfBuilds()
Description copied from interface:DownloadedArtifacts
Returns actual number of builds downloaded or provided artifacts (without applying user permissions)- Specified by:
getActualNumberOfBuilds
in interfaceDownloadedArtifacts
- Returns:
- see above
-
getSourceBuildIds
@NotNull public Set<Long> getSourceBuildIds()
- Specified by:
getSourceBuildIds
in 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
-
-