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
-
Method Summary
Modifier and TypeMethodDescription@NotNull ArchiverType
Returns the type of archiver used for packaging files of this artifact.@NotNull String
getLabel()
Label of the Artifact@NotNull String
Type of artifact link@NotNull PlanResultKey
Get key ofResultsSummary
that owns thisArtifact
.long
getSize()
Returns a file size in bytes.boolean
Indicates that the artifact is stored globally (i.e.boolean
Indicates 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 ofResultsSummary
that 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.NONE
should be returned.
-