Package jetbrains.buildServer.artifacts
Interface ArtifactData
-
- All Known Implementing Classes:
ArtifactDataInstance
,SerializableArtifactData
public interface ArtifactData
Information about a single artifact in the artifact list- Since:
- 2017.1
- Author:
- vbedrosova
- See Also:
ArtifactListData
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getPath()
Returns relative path of this artifactjava.util.Map<java.lang.String,java.lang.String>
getProperties()
Returns custom artifact properties provided by the implementation, e.g.long
getSize()
Returns artifact size in bytesjava.lang.String
getUrl()
Returns http download URL (getProperties value forArtifactDataInstance.URL_KEY
) of this artifact if available.
-
-
-
Method Detail
-
getPath
@NotNull java.lang.String getPath()
Returns relative path of this artifact- Returns:
- see above
-
getUrl
@Nullable java.lang.String getUrl()
Returns http download URL (getProperties value forArtifactDataInstance.URL_KEY
) of this artifact if available. If no URL available, eitherArtifactDownloadProcessor
orArtifactContentProvider
extension will be used.- Returns:
- see above
-
getSize
long getSize()
Returns artifact size in bytes- Returns:
- see above
-
getProperties
@NotNull java.util.Map<java.lang.String,java.lang.String> getProperties()
Returns custom artifact properties provided by the implementation, e.g.ArtifactDataInstance.URL_KEY
- Returns:
- see above
-
-