public interface ArtifactContentProvider extends TeamCityExtension
ArtifactStorageType
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getContent(StoredBuildArtifactInfo artifactInfo) |
java.lang.String |
getType()
Supported artifact storage type that should match the corresponding
ArtifactStorageType.getType() |
@NotNull java.lang.String getType()
ArtifactStorageType.getType()
@NotNull java.io.InputStream getContent(@NotNull StoredBuildArtifactInfo artifactInfo) throws java.io.IOException
artifactInfo
- artifact data with storage settingsjava.io.IOException
- if the artifact has no content or if some error occurs.ArtifactListData