|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ArtifactLink
Interface for a simple Artifact
Field Summary | |
---|---|
static java.lang.String |
SYSTEM_LINK_TYPE
Default 'system' getLinkType() |
Method Summary | |
---|---|
ResultsSummary |
getBuildResultsSummary()
|
java.io.File |
getFile()
Accessor for the actual file handle of the artifact. |
java.lang.String |
getLabel()
Label of the Artifact |
java.lang.String |
getLinkType()
Type of artifact link |
BuildResultsSummary |
getProducerJobResult()
|
long |
getSize()
Returns a file size in bytes |
java.lang.String |
getSizeDescription()
Returns a human-readable version of the file size, where the input represents a specific number of bytes. |
java.util.List<ConsumedSubscription> |
getSubscriptions()
|
java.lang.String |
getUrl()
URL of the artifact relative to AdministrationConfiguration.getBaseUrl() |
boolean |
isExists()
If the artifact link exists |
boolean |
isSharedArtifact()
Indicates if the artifact is a shared artifact. |
Methods inherited from interface com.atlassian.bamboo.core.BambooObject |
---|
setId |
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider |
---|
getId |
Field Detail |
---|
static final java.lang.String SYSTEM_LINK_TYPE
getLinkType()
Method Detail |
---|
@NotNull java.lang.String getLabel()
@Nullable java.lang.String getUrl()
AdministrationConfiguration.getBaseUrl()
boolean isExists()
@Nullable java.io.File getFile()
boolean isSharedArtifact()
long getSize()
@NotNull java.lang.String getSizeDescription()
@Nullable ResultsSummary getBuildResultsSummary()
ResultsSummary
which this artifact link belongs to. May be null if still not associated with ResultsSummary@Nullable BuildResultsSummary getProducerJobResult()
ResultsSummary
of the Job that produced this artifact. May be null if still not associated with
ResultsSummary or if it has been removed but artifact still exists.java.util.List<ConsumedSubscription> getSubscriptions()
@NotNull java.lang.String getLinkType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |