Interface ArtifactLink
- All Superinterfaces:
BambooIdProvider,BambooObject
- All Known Implementing Classes:
DefaultArtifactLink
Interface for a simple Artifact
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final StringDefault 'system'getLinkType() -
Method Summary
Modifier and TypeMethodDescription@NotNull MutableArtifact@Nullable ResultsSummary@NotNull StringgetLabel()Deprecated.@NotNull StringDeprecated.@Nullable BuildResultsSummarybooleanDeprecated.since 5.7 useArtifact.isSharedArtifact()Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getIdMethods 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
-
getBuildResultsSummary
- Returns:
ResultsSummarywhich this artifact link belongs to. May be null if still not associated with ResultsSummary
-
getProducerJobResult
- Returns:
ResultsSummaryof 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()