public class RestArtifact extends Object implements Artifact
SYSTEM_LINK_TYPE
Constructor and Description |
---|
RestArtifact(Artifact other) |
Modifier and Type | Method and Description |
---|---|
@NotNull ArchiverType |
getArchiverType()
Returns the type of archiver used for packaging files of this artifact.
|
long |
getId() |
@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.
|
public RestArtifact(Artifact other)
@NotNull public @NotNull String getLabel()
Artifact
public long getSize()
Artifact
@NotNull public @NotNull String getLinkType()
Artifact
getLinkType
in interface Artifact
public boolean isSharedArtifact()
Artifact
isSharedArtifact
in interface Artifact
public boolean isGloballyStored()
Artifact
isGloballyStored
in interface Artifact
@NotNull public @NotNull PlanResultKey getPlanResultKey()
Artifact
ResultsSummary
that owns this Artifact
.
Can be both Job or Plan result.
May point to result which is already removed.getPlanResultKey
in interface Artifact
public long getId()
getId
in interface BambooIdProvider
@NotNull public @NotNull ArchiverType getArchiverType()
Artifact
ArchiverType.NONE
should be returned.getArchiverType
in interface Artifact
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.