|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.artifact.ArtifactImpl
public class ArtifactImpl
Field Summary |
---|
Fields inherited from interface com.atlassian.bamboo.artifact.Artifact |
---|
SYSTEM_LINK_TYPE |
Constructor Summary | |
---|---|
ArtifactImpl(Artifact other)
|
Method Summary | |
---|---|
long |
getId()
|
java.lang.String |
getLabel()
Label of the Artifact |
java.lang.String |
getLinkType()
Type of artifact link |
PlanResultKey |
getPlanResultKey()
Get key of ResultsSummary that owns this Artifact . |
long |
getSize()
Returns a file size in bytes. |
static ArtifactImpl |
globallyStoredCopyOf(Artifact other)
|
boolean |
isGloballyStored()
Indicates that the artifact is stored globally (i.e. |
boolean |
isSharedArtifact()
Indicates if the artifact is a shared artifact. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArtifactImpl(Artifact other)
Method Detail |
---|
public static ArtifactImpl globallyStoredCopyOf(Artifact other)
@NotNull public java.lang.String getLabel()
Artifact
getLabel
in interface Artifact
public long getSize()
Artifact
getSize
in interface Artifact
@NotNull public java.lang.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 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |