Interface BuildFinder
-
- All Superinterfaces:
ServerExtension
,TeamCityExtension
- All Known Implementing Classes:
LastPinnedBuildFinder
public interface BuildFinder extends ServerExtension
Represents build finder - utility class which is able to find build by some characteristics in specified build configuration.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SBuild
findBuild(SBuildType buildType, SBuild scope)
Does actual lookup of a buildString
name()
Returns name of this finder
-
-
-
Method Detail
-
name
@NotNull String name()
Returns name of this finder- Returns:
- name of this finder
-
findBuild
@Nullable SBuild findBuild(@NotNull SBuildType buildType, @Nullable SBuild scope)
Does actual lookup of a build- Parameters:
buildType
- build configuration where to lookup for a buildscope
- - if specified - a build for which the lookup is performed- Returns:
- found build or null
-
-