Interface ExternalBuildArtifactsCache
-
- All Known Implementing Classes:
ExternalBuildArtifactsCacheImpl
public interface ExternalBuildArtifactsCacheProvides a file cache for external artifacts.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStreamgetCachedStream(ExternalBuildArtifactFile artifact, FuncThrow<InputStream,IOException> streamAction)Executes artifact content caching and returns input stream.
-
-
-
Method Detail
-
getCachedStream
@NotNull InputStream getCachedStream(@NotNull ExternalBuildArtifactFile artifact, @NotNull FuncThrow<InputStream,IOException> streamAction) throws IOException
Executes artifact content caching and returns input stream.- Parameters:
artifact- is an external artifact.streamAction- action which returns stream from external storage.- Returns:
- cached input stream.
- Throws:
IOException
-
-