Package jetbrains.buildServer.serverSide
Interface TmpFiles
-
- All Known Implementing Classes:
TmpFilesImpl
public interface TmpFiles
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addServerTempDir(File dir)
Registers the specified dir for removal on server shutdownFile
createServerTempDir(String name)
Creates and returns a temp dir with the specified name as a suffix which will be removed on server shutdown
-
-
-
Method Detail
-
createServerTempDir
@NotNull File createServerTempDir(@NotNull String name) throws IOException
Creates and returns a temp dir with the specified name as a suffix which will be removed on server shutdown- Parameters:
name
-- Returns:
- see above
- Throws:
IOException
- if there is an error during temp dir creation
-
addServerTempDir
void addServerTempDir(@NotNull File dir)
Registers the specified dir for removal on server shutdown- Parameters:
dir
- directory of interest
-
-