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