Interface ArtifactLink
-
- All Superinterfaces:
BambooIdProvider,BambooObject
- All Known Implementing Classes:
DefaultArtifactLink
public interface ArtifactLink extends BambooObject
Interface for a simple Artifact
-
-
Field Summary
Fields Modifier and Type Field Description static StringBASE_URLstatic StringSYSTEM_LINK_TYPEDefault 'system'getLinkType()
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description @NotNull MutableArtifactgetArtifact()@Nullable ResultsSummarygetBuildResultsSummary()@NotNull StringgetLabel()Deprecated.since 5.7 useArtifact.getLabel()@NotNull StringgetLinkType()Deprecated.@Nullable BuildResultsSummarygetProducerJobResult()longgetSize()Deprecated.since 5.7 useArtifact.getSize()List<ConsumedSubscription>getSubscriptions()booleanisSharedArtifact()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 Detail
-
SYSTEM_LINK_TYPE
static final String SYSTEM_LINK_TYPE
Default 'system'getLinkType()- See Also:
- Constant Field Values
-
BASE_URL
static final String BASE_URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLabel
@Deprecated @NotNull @NotNull String getLabel()
Deprecated.since 5.7 useArtifact.getLabel()Label of the Artifact- Returns:
- label
-
isSharedArtifact
@Deprecated boolean isSharedArtifact()
Deprecated.since 5.7 useArtifact.isSharedArtifact()Indicates if the artifact is a shared artifact.- Returns:
- true if artifact is a shared artifact.
-
getSize
@Deprecated long getSize()
Deprecated.since 5.7 useArtifact.getSize()Returns a file size in bytes- Returns:
- file size in bytes
-
getBuildResultsSummary
@Nullable @Nullable ResultsSummary getBuildResultsSummary()
- Returns:
ResultsSummarywhich this artifact link belongs to. May be null if still not associated with ResultsSummary
-
getProducerJobResult
@Nullable @Nullable BuildResultsSummary 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 @NotNull @NotNull String getLinkType()
Deprecated.Type of artifact link- Returns:
- linkType
-
getArtifact
@NotNull @NotNull MutableArtifact getArtifact()
-
-