Class ToolPathsImpl
- java.lang.Object
-
- jetbrains.buildServer.tools.installed.ToolPathsImpl
-
-
Constructor Summary
Constructors Constructor Description ToolPathsImpl(ServerPaths serverPaths)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilegetDownloadTempDirectory(ToolType toolType)FilegetInstalledToolsStorageFile()FilegetPackagedToolPath(String toolName)FilegetPackagedToolsFolder()This folder is used for storing repacked tool packages that are ready to be used by agents.FilegetSharedBundledToolPath(File toolPackage)FilegetSharedBundledToolPath(String toolPackageName)FilegetSharedBundledToolsFolder()This folder is used for storing original tool packages of bundled tools that are downloaded and installed on server startup.FilegetSharedToolPath(File toolPackage)FilegetSharedToolPath(String toolPackageName)FilegetSharedToolsFolder()This folder is used for storing original tool packages of non-bundled tools.FilegetUnpackedContentPath(String toolName)Collection<File>listBundledToolPackages()Collection<File>listToolPackages()
-
-
-
Constructor Detail
-
ToolPathsImpl
public ToolPathsImpl(@NotNull ServerPaths serverPaths)
-
-
Method Detail
-
listToolPackages
@NotNull public Collection<File> listToolPackages()
- Specified by:
listToolPackagesin interfaceToolPaths
-
listBundledToolPackages
@NotNull public Collection<File> listBundledToolPackages()
- Specified by:
listBundledToolPackagesin interfaceToolPaths
-
getInstalledToolsStorageFile
@NotNull public File getInstalledToolsStorageFile()
- Specified by:
getInstalledToolsStorageFilein interfaceToolPaths
-
getDownloadTempDirectory
@NotNull public File getDownloadTempDirectory(@NotNull ToolType toolType) throws IOException
- Specified by:
getDownloadTempDirectoryin interfaceToolPaths- Throws:
IOException
-
getSharedToolPath
@NotNull public File getSharedToolPath(@NotNull File toolPackage)
- Specified by:
getSharedToolPathin interfaceToolPaths
-
getSharedToolPath
@NotNull public File getSharedToolPath(@NotNull String toolPackageName)
- Specified by:
getSharedToolPathin interfaceToolPaths
-
getSharedBundledToolPath
@NotNull public File getSharedBundledToolPath(@NotNull File toolPackage)
- Specified by:
getSharedBundledToolPathin interfaceToolPaths
-
getSharedBundledToolPath
@NotNull public File getSharedBundledToolPath(@NotNull String toolPackageName)
- Specified by:
getSharedBundledToolPathin interfaceToolPaths
-
getPackagedToolPath
@NotNull public File getPackagedToolPath(@NotNull String toolName)
- Specified by:
getPackagedToolPathin interfaceToolPaths
-
getUnpackedContentPath
@NotNull public File getUnpackedContentPath(@NotNull String toolName)
- Specified by:
getUnpackedContentPathin interfaceToolPaths
-
getSharedToolsFolder
@NotNull public File getSharedToolsFolder()
Description copied from interface:ToolPathsThis folder is used for storing original tool packages of non-bundled tools. These packages are stored in their initial state (before repacking) and therefore they are not ready to be used on agents.The packages are not removed after repacking (e.g. they are used to repack the tools after cache cleanup).
- Specified by:
getSharedToolsFolderin interfaceToolPaths
-
getSharedBundledToolsFolder
@NotNull public File getSharedBundledToolsFolder()
Description copied from interface:ToolPathsThis folder is used for storing original tool packages of bundled tools that are downloaded and installed on server startup.- Specified by:
getSharedBundledToolsFolderin interfaceToolPaths- See Also:
BundledToolInstaller
-
getPackagedToolsFolder
@NotNull public File getPackagedToolsFolder()
Description copied from interface:ToolPathsThis folder is used for storing repacked tool packages that are ready to be used by agents.- Specified by:
getPackagedToolsFolderin interfaceToolPaths
-
-