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 File
getDownloadTempDirectory(ToolType toolType)
File
getInstalledToolsStorageFile()
File
getPackagedToolPath(String toolName)
File
getPackagedToolsFolder()
This folder is used for storing repacked tool packages that are ready to be used by agents.File
getSharedBundledToolPath(File toolPackage)
File
getSharedBundledToolPath(String toolPackageName)
File
getSharedBundledToolsFolder()
This folder is used for storing original tool packages of bundled tools that are downloaded and installed on server startup.File
getSharedToolPath(File toolPackage)
File
getSharedToolPath(String toolPackageName)
File
getSharedToolsFolder()
This folder is used for storing original tool packages of non-bundled tools.File
getUnpackedContentPath(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:
listToolPackages
in interfaceToolPaths
-
listBundledToolPackages
@NotNull public Collection<File> listBundledToolPackages()
- Specified by:
listBundledToolPackages
in interfaceToolPaths
-
getInstalledToolsStorageFile
@NotNull public File getInstalledToolsStorageFile()
- Specified by:
getInstalledToolsStorageFile
in interfaceToolPaths
-
getDownloadTempDirectory
@NotNull public File getDownloadTempDirectory(@NotNull ToolType toolType) throws IOException
- Specified by:
getDownloadTempDirectory
in interfaceToolPaths
- Throws:
IOException
-
getSharedToolPath
@NotNull public File getSharedToolPath(@NotNull File toolPackage)
- Specified by:
getSharedToolPath
in interfaceToolPaths
-
getSharedToolPath
@NotNull public File getSharedToolPath(@NotNull String toolPackageName)
- Specified by:
getSharedToolPath
in interfaceToolPaths
-
getSharedBundledToolPath
@NotNull public File getSharedBundledToolPath(@NotNull File toolPackage)
- Specified by:
getSharedBundledToolPath
in interfaceToolPaths
-
getSharedBundledToolPath
@NotNull public File getSharedBundledToolPath(@NotNull String toolPackageName)
- Specified by:
getSharedBundledToolPath
in interfaceToolPaths
-
getPackagedToolPath
@NotNull public File getPackagedToolPath(@NotNull String toolName)
- Specified by:
getPackagedToolPath
in interfaceToolPaths
-
getUnpackedContentPath
@NotNull public File getUnpackedContentPath(@NotNull String toolName)
- Specified by:
getUnpackedContentPath
in interfaceToolPaths
-
getSharedToolsFolder
@NotNull public File getSharedToolsFolder()
Description copied from interface:ToolPaths
This 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:
getSharedToolsFolder
in interfaceToolPaths
-
getSharedBundledToolsFolder
@NotNull public File getSharedBundledToolsFolder()
Description copied from interface:ToolPaths
This folder is used for storing original tool packages of bundled tools that are downloaded and installed on server startup.- Specified by:
getSharedBundledToolsFolder
in interfaceToolPaths
- See Also:
BundledToolInstaller
-
getPackagedToolsFolder
@NotNull public File getPackagedToolsFolder()
Description copied from interface:ToolPaths
This folder is used for storing repacked tool packages that are ready to be used by agents.- Specified by:
getPackagedToolsFolder
in interfaceToolPaths
-
-