Interface ArtifactLink
- All Superinterfaces:
BambooIdProvider
,BambooObject
- All Known Implementing Classes:
DefaultArtifactLink
Interface for a simple Artifact
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
Default 'system'getLinkType()
-
Method Summary
Modifier and TypeMethodDescription@NotNull MutableArtifact
@Nullable ResultsSummary
@NotNull String
getLabel()
Deprecated.@NotNull String
Deprecated.@Nullable BuildResultsSummary
long
getSize()
Deprecated.since 5.7 useArtifact.getSize()
boolean
Deprecated.since 5.7 useArtifact.isSharedArtifact()
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
Field Details
-
SYSTEM_LINK_TYPE
Default 'system'getLinkType()
- See Also:
-
BASE_URL
- See Also:
-
-
Method Details
-
getLabel
Deprecated.since 5.7 useArtifact.getLabel()
Label of the Artifact- Returns:
- label
-
getSize
Deprecated.since 5.7 useArtifact.getSize()
Returns a file size in bytes- Returns:
- file size in bytes
-
getBuildResultsSummary
- Returns:
ResultsSummary
which this artifact link belongs to. May be null if still not associated with ResultsSummary
-
getProducerJobResult
- Returns:
ResultsSummary
of the Job that produced this artifact. May be null if still not associated with ResultsSummary or if it has been removed but artifact still exists.
-
getSubscriptions
List<ConsumedSubscription> getSubscriptions() -
getLinkType
Deprecated.Type of artifact link- Returns:
- linkType
-
getArtifact
-
Artifact.getLabel()