jetbrains.buildServer.serverSide.artifacts
Interface BuildArtifactHolder

All Superinterfaces:
BuildArtifactInfo

public interface BuildArtifactHolder
extends BuildArtifactInfo

Created Eugene Petrenko (eugene.petrenko@gmail.com) date: 19.04.11


Method Summary
 BuildArtifact getArtifact()
           
 boolean isAccessible()
           
 boolean isAvailable()
           
 
Methods inherited from interface jetbrains.buildServer.serverSide.artifacts.BuildArtifactInfo
getName, getRelativePath
 

Method Detail

isAccessible

boolean isAccessible()
Returns:
true if you have permission to access the file and the file exists in build artifacts.
Since:
6.5

isAvailable

boolean isAvailable()
Returns:
true if requested file is found on disk
Since:
6.5

getArtifact

@NotNull
BuildArtifact getArtifact()
                          throws AccessDeniedException,
                                 BuildArtifactNotFoundException
Returns:
build artifact
Throws:
AccessDeniedException - if you have no rights to access this artifact
BuildArtifactNotFoundException - if there is no such artifact