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 String
BASE_URL
static String
SYSTEM_LINK_TYPE
Default 'system'getLinkType()
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description @NotNull MutableArtifact
getArtifact()
@Nullable ResultsSummary
getBuildResultsSummary()
@NotNull String
getLabel()
Deprecated.since 5.7 useArtifact.getLabel()
@NotNull String
getLinkType()
Deprecated.@Nullable BuildResultsSummary
getProducerJobResult()
long
getSize()
Deprecated.since 5.7 useArtifact.getSize()
List<ConsumedSubscription>
getSubscriptions()
boolean
isSharedArtifact()
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:
ResultsSummary
which this artifact link belongs to. May be null if still not associated with ResultsSummary
-
getProducerJobResult
@Nullable @Nullable BuildResultsSummary 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 @NotNull @NotNull String getLinkType()
Deprecated.Type of artifact link- Returns:
- linkType
-
getArtifact
@NotNull @NotNull MutableArtifact getArtifact()
-
-