@PublicApi public interface Artifact extends BambooIdProvider
ArtifactLink
Modifier and Type | Field and Description |
---|---|
static String |
SYSTEM_LINK_TYPE |
Modifier and Type | Method and Description |
---|---|
@NotNull ArchiverType |
getArchiverType()
Returns the type of archiver used for packaging files of this artifact.
|
@NotNull String |
getLabel()
Label of the Artifact
|
@NotNull String |
getLinkType()
Type of artifact link
|
@NotNull PlanResultKey |
getPlanResultKey()
Get key of
ResultsSummary that owns this Artifact . |
long |
getSize()
Returns a file size in bytes.
|
boolean |
isGloballyStored()
Indicates that the artifact is stored globally (i.e.
|
boolean |
isSharedArtifact()
Indicates if the artifact is a shared artifact.
|
getId
static final String SYSTEM_LINK_TYPE
@NotNull @NotNull String getLabel()
long getSize()
@NotNull @NotNull String getLinkType()
boolean isSharedArtifact()
boolean isGloballyStored()
@NotNull @NotNull PlanResultKey getPlanResultKey()
ResultsSummary
that owns this Artifact
.
Can be both Job or Plan result.
May point to result which is already removed.@NotNull @NotNull ArchiverType getArchiverType()
ArchiverType.NONE
should be returned.Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.