Class DownloadedArtifactsImpl
- java.lang.Object
-
- jetbrains.buildServer.artifacts.impl.DownloadedArtifactsImpl
-
- All Implemented Interfaces:
DownloadedArtifacts
public class DownloadedArtifactsImpl extends Object implements DownloadedArtifacts
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jetbrains.buildServer.artifacts.impl.DownloadedArtifacts
DownloadedArtifacts.DisabledTracker
-
-
Constructor Summary
Constructors Constructor Description DownloadedArtifactsImpl(DownloadedArtifactsProgress artifactsProgress, TimeService timeService, boolean isBuildCacheResolution)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileProgress
fileDownloadStarted(String url, String retrieverId)
Notifies DownloadedArtifactsProgress that a new file download is started and returns track objectCollection<DownloadingArtifactState>
getDownloadedArtifactInfos()
boolean
isBuildCacheResolution()
void
setPaused(boolean paused)
-
-
-
Constructor Detail
-
DownloadedArtifactsImpl
public DownloadedArtifactsImpl(@NotNull DownloadedArtifactsProgress artifactsProgress, @NotNull TimeService timeService, boolean isBuildCacheResolution)
-
-
Method Detail
-
getDownloadedArtifactInfos
public Collection<DownloadingArtifactState> getDownloadedArtifactInfos()
- Specified by:
getDownloadedArtifactInfos
in interfaceDownloadedArtifacts
- Returns:
- All downloaded artifacts states
-
fileDownloadStarted
public FileProgress fileDownloadStarted(@NotNull String url, @NotNull String retrieverId)
Description copied from interface:DownloadedArtifacts
Notifies DownloadedArtifactsProgress that a new file download is started and returns track object- Specified by:
fileDownloadStarted
in interfaceDownloadedArtifacts
- Returns:
-
setPaused
public void setPaused(boolean paused)
- Specified by:
setPaused
in interfaceDownloadedArtifacts
-
isBuildCacheResolution
public boolean isBuildCacheResolution()
- Specified by:
isBuildCacheResolution
in interfaceDownloadedArtifacts
-
-