jetbrains.buildServer.serverSide.artifacts
Interface BuildFinder

All Superinterfaces:
ServerExtension, TeamCityExtension

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
 SBuild findBuild(SBuildType buildType, SBuild scope)
          Does actual lookup of a build
 java.lang.String name()
          Returns name of this finder
 

Method Detail

name

@NotNull
java.lang.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 build
scope - - if specified - a build for which the lookup is performed
Returns:
found build or null