Class ArtifactNotFoundBuildArtifactHolder
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.artifacts.BuildArtifactsHolderImpl
-
- jetbrains.buildServer.serverSide.impl.artifacts.ArtifactNotFoundBuildArtifactHolder
-
- All Implemented Interfaces:
BuildArtifactHolder
,BuildArtifactInfo
public class ArtifactNotFoundBuildArtifactHolder extends BuildArtifactsHolderImpl
Created Eugene Petrenko (eugene.petrenko@gmail.com) date: 19.04.11
-
-
Constructor Summary
Constructors Constructor Description ArtifactNotFoundBuildArtifactHolder(String relativePath, String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildArtifact
getArtifact()
boolean
isAccessible()
boolean
isAvailable()
-
Methods inherited from class jetbrains.buildServer.serverSide.impl.artifacts.BuildArtifactsHolderImpl
getName, getRelativePath
-
-
-
-
Method Detail
-
isAccessible
public boolean isAccessible()
- Returns:
- true if you have permission to access the file and the file exists in build artifacts.
-
isAvailable
public boolean isAvailable()
- Returns:
- true if requested file is found on disk
-
getArtifact
@NotNull public 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
-
-