Class ArchiveBasedArtifact
- java.lang.Object
-
- jetbrains.buildServer.artifacts.impl.AbstractDownloadableArtifact
-
- jetbrains.buildServer.artifacts.impl.FileDownloadableArtifact
-
- jetbrains.buildServer.artifacts.impl.ArchiveBasedArtifact
-
- All Implemented Interfaces:
DownloadableArtifact
public class ArchiveBasedArtifact extends FileDownloadableArtifact
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jetbrains.buildServer.artifacts.impl.DownloadableArtifact
DownloadableArtifact.DownloadedArtifact
-
-
Field Summary
-
Fields inherited from class jetbrains.buildServer.artifacts.impl.AbstractDownloadableArtifact
myArchiveHelper, myArtifactAccessor, myCollisionsDetector, myDep, myListener, myWorkingDir
-
-
Constructor Summary
Constructors Constructor Description ArchiveBasedArtifact(ArtifactDependency dep, ArtifactAccessor artifactAccessor, jetbrains.buildServer.artifacts.impl.DependencyArchiveHelper archiveHelper, DependencyResolverListener listener, SingleDependencyProcessor.CollisionsDetector collisionsDetector, String artifactPath, Collection<String> artifactTargetPaths, ArtifactDepRuleSet archiveRuleSet, File baseDir, List<File> targetFiles, ArtifactInfo artifactInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DownloadableArtifact.DownloadedArtifact
download()
perform downloading and resolving the artifactvoid
fireArtifactDownloaded()
-
Methods inherited from class jetbrains.buildServer.artifacts.impl.FileDownloadableArtifact
getTargetFile
-
Methods inherited from class jetbrains.buildServer.artifacts.impl.AbstractDownloadableArtifact
checkCollisionsInUnpackedTargetFiles, downloadArtifact, getArtifactInfo, getArtifactPath, relativizeCollision
-
-
-
-
Constructor Detail
-
ArchiveBasedArtifact
public ArchiveBasedArtifact(ArtifactDependency dep, ArtifactAccessor artifactAccessor, jetbrains.buildServer.artifacts.impl.DependencyArchiveHelper archiveHelper, DependencyResolverListener listener, SingleDependencyProcessor.CollisionsDetector collisionsDetector, String artifactPath, @NotNull Collection<String> artifactTargetPaths, @NotNull ArtifactDepRuleSet archiveRuleSet, @NotNull File baseDir, List<File> targetFiles, ArtifactInfo artifactInfo)
-
-
Method Detail
-
fireArtifactDownloaded
public void fireArtifactDownloaded()
- Overrides:
fireArtifactDownloaded
in classFileDownloadableArtifact
-
download
public DownloadableArtifact.DownloadedArtifact download() throws ResolvingFailedException
Description copied from interface:DownloadableArtifact
perform downloading and resolving the artifact- Specified by:
download
in interfaceDownloadableArtifact
- Overrides:
download
in classFileDownloadableArtifact
- Returns:
- count of processed files
- Throws:
ResolvingFailedException
-
-