com.atlassian.bamboo.build.artifact
Interface ArtifactLink

All Known Implementing Classes:
DefaultArtifactLink

public interface ArtifactLink

Interface for a simple Artifact


Method Summary
 BuildResultsSummary getBuildResultsSummary()
           
 java.io.File getFile()
          Accessor for the actual file handle of the artifact.
 java.lang.String getLabel()
           
 java.lang.String getSizeDescription()
           
 java.lang.String getUrl()
           
 boolean isExists()
          If the artifact link exists
 

Method Detail

getLabel

java.lang.String getLabel()

getUrl

@Nullable
java.lang.String getUrl()

isExists

boolean isExists()
If the artifact link exists

Returns:
true if the artifact exists, false otherwise

getFile

@Nullable
java.io.File getFile()
Accessor for the actual file handle of the artifact.

Returns:
a File object pointing to either the file or directory of this artifact

getSizeDescription

java.lang.String getSizeDescription()

getBuildResultsSummary

@Nullable
BuildResultsSummary getBuildResultsSummary()
Returns:
BuildResultsSummary which this artifact link belongs to. May be null if still not associated with BuildResultsSummary


Copyright © 2010 Atlassian. All Rights Reserved.