Interface BuildArtifactHolder
-
- All Superinterfaces:
BuildArtifactInfo
- All Known Implementing Classes:
AccessDeniedBuildArtifactHolder
,ArtifactNotFoundBuildArtifactHolder
,BuildArtifactHolderDelegate
,BuildArtifactsHolderImpl
,ExistingBuildArtifactHolder
public interface BuildArtifactHolder extends BuildArtifactInfo
Created Eugene Petrenko (eugene.petrenko@gmail.com) date: 19.04.11
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 artifactBuildArtifactNotFoundException
- if there is no such artifact
-
-