Package com.atlassian.bamboo.artifact
Interface Artifact
- All Superinterfaces:
BambooIdProvider
- All Known Subinterfaces:
ArtifactData,MutableArtifact
- All Known Implementing Classes:
ArtifactDataImpl,ArtifactImpl,MutableArtifactImpl,RestArtifact
Represents an artifact produced by a Bamboo build.
see
ArtifactLink- Since:
- 5.0
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription@NotNull ArchiverTypeReturns the type of archiver used for packaging files of this artifact.@NotNull StringgetLabel()Label of the Artifact@NotNull StringType of artifact link@NotNull PlanResultKeyGet key ofResultsSummarythat owns thisArtifact.longgetSize()Returns a file size in bytes.booleanIndicates that the artifact is stored globally (i.e.booleanIndicates if the artifact is a shared artifact.Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
-
Field Details
-
SYSTEM_LINK_TYPE
- See Also:
-
-
Method Details
-
getLabel
Label of the Artifact- Returns:
- label
-
getSize
long getSize()Returns a file size in bytes.- Returns:
-
getLinkType
Type of artifact link- Returns:
- linkType
-
isGloballyStored
boolean isGloballyStored()Indicates that the artifact is stored globally (i.e. not in plan specific catalogue) -
getPlanResultKey
Get key ofResultsSummarythat owns thisArtifact. Can be both Job or Plan result. May point to result which is already removed.- Returns:
-
getArchiverType
Returns the type of archiver used for packaging files of this artifact. If artifact files were not packaged,ArchiverType.NONEshould be returned.
-