Class LastPinnedBuildFinder
- java.lang.Object
-
- jetbrains.buildServer.serverSide.util.LastPinnedBuildFinder
-
- All Implemented Interfaces:
BuildFinder
,ServerExtension
,TeamCityExtension
public class LastPinnedBuildFinder extends Object implements BuildFinder
- Author:
- Pavel.Sher
-
-
Constructor Summary
Constructors Constructor Description LastPinnedBuildFinder(BuildsManager buildsManager, RevisionRule revisionRule, BranchSpecsEx branchSpecs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SBuild
findBuild(SBuildType buildType, SBuild scope)
Does actual lookup of a buildString
name()
Returns name of this finder
-
-
-
Constructor Detail
-
LastPinnedBuildFinder
public LastPinnedBuildFinder(@NotNull BuildsManager buildsManager, @Nullable RevisionRule revisionRule, @NotNull BranchSpecsEx branchSpecs)
-
-
Method Detail
-
name
@NotNull public String name()
Description copied from interface:BuildFinder
Returns name of this finder- Specified by:
name
in interfaceBuildFinder
- Returns:
- name of this finder
-
findBuild
public SBuild findBuild(@NotNull SBuildType buildType, @Nullable SBuild scope)
Description copied from interface:BuildFinder
Does actual lookup of a build- Specified by:
findBuild
in interfaceBuildFinder
- 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
-
-