Interface ToolPaths
-
- All Known Implementing Classes:
ToolPathsImpl
public interface ToolPaths
Created by Evgeniy.Koshkin.
-
-
Method Summary
All Methods Instance Methods Abstract 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()
-
-
-
Method Detail
-
getSharedToolsFolder
@NotNull File getSharedToolsFolder()
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).
-
getSharedBundledToolsFolder
@NotNull File getSharedBundledToolsFolder()
This folder is used for storing original tool packages of bundled tools that are downloaded and installed on server startup.- See Also:
BundledToolInstaller
-
getPackagedToolsFolder
@NotNull File getPackagedToolsFolder()
This folder is used for storing repacked tool packages that are ready to be used by agents.
-
getDownloadTempDirectory
@NotNull File getDownloadTempDirectory(@NotNull ToolType toolType) throws IOException
- Throws:
IOException
-
listToolPackages
@NotNull Collection<File> listToolPackages()
-
listBundledToolPackages
@NotNull Collection<File> listBundledToolPackages()
-
getInstalledToolsStorageFile
@NotNull File getInstalledToolsStorageFile()
-
-