Package jetbrains.buildServer.tools.impl
Class DefaultToolFinderImpl
- java.lang.Object
-
- jetbrains.buildServer.tools.impl.DefaultToolFinderImpl
-
- All Implemented Interfaces:
DefaultToolFinder
public class DefaultToolFinderImpl extends Object implements DefaultToolFinder
- Since:
- 2019.1
- Author:
- Maxim Zaytsev (maxim.zaytsev@jetbrains.com)
-
-
Constructor Summary
Constructors Constructor Description DefaultToolFinderImpl(ProjectManager projectManager, DefaultToolVersions defaultToolVersions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstalledToolVersiongetDefaultTool(ToolType type, SBuild build)works asDefaultToolVersions.getDefaultVersion(ToolType, SProject)and takes project from specified build orProjectManager.getRootProject()if project
-
-
-
Constructor Detail
-
DefaultToolFinderImpl
public DefaultToolFinderImpl(@NotNull ProjectManager projectManager, @NotNull DefaultToolVersions defaultToolVersions)
-
-
Method Detail
-
getDefaultTool
@Nullable public InstalledToolVersion getDefaultTool(@NotNull ToolType type, @NotNull SBuild build)
Description copied from interface:DefaultToolFinderworks asDefaultToolVersions.getDefaultVersion(ToolType, SProject)and takes project from specified build orProjectManager.getRootProject()if project- Specified by:
getDefaultToolin interfaceDefaultToolFinder- Parameters:
type-ToolTypeinstancebuild- build for taking project scope- Returns:
- default tool version or null if default tool is not found
- See Also:
DefaultToolVersions.getDefaultVersion(ToolType, SProject)
-
-