com.atlassian.bamboo.artifact
Interface Artifact

All Superinterfaces:
BambooIdProvider
All Known Subinterfaces:
MutableArtifact
All Known Implementing Classes:
ArtifactImpl, MutableArtifactImpl

public interface Artifact
extends BambooIdProvider

Represents an artifact produced by a Bamboo build.

Since:
5.0
See Also:
ArtifactLink}

Field Summary
static java.lang.String SYSTEM_LINK_TYPE
           
 
Method Summary
 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.
 boolean isGloballyStored()
          Indicates that the artifact is stored globally (i.e.
 boolean isSharedArtifact()
          Indicates if the artifact is a shared artifact.
 
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
 

Field Detail

SYSTEM_LINK_TYPE

static final java.lang.String SYSTEM_LINK_TYPE
See Also:
Constant Field Values
Method Detail

getLabel

@NotNull
java.lang.String getLabel()
Label of the Artifact

Returns:
label

getSize

long getSize()
Returns a file size in bytes.

Returns:

getLinkType

@NotNull
java.lang.String getLinkType()
Type of artifact link

Returns:
linkType

isSharedArtifact

boolean isSharedArtifact()
Indicates if the artifact is a shared artifact.

Returns:
true if artifact is a shared artifact.

isGloballyStored

boolean isGloballyStored()
Indicates that the artifact is stored globally (i.e. not in plan specific catalogue)


getPlanResultKey

@NotNull
PlanResultKey getPlanResultKey()
Get key of ResultsSummary that owns this Artifact. Can be both Job or Plan result. May point to result which is already removed.

Returns:


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.