jetbrains.buildServer.agent
Interface SmartDirectoryCleaner


public interface SmartDirectoryCleaner

Clean directory with notifications for files/directories that can not be cleaned up.

Since:
4.0
Author:
Eugene Petrenko

Method Summary
 void cleanFolder(java.io.File file, SmartDirectoryCleanerCallback callback)
          Removes folder providing smart error callbacks.
 

Method Detail

cleanFolder

void cleanFolder(@NotNull
                 java.io.File file,
                 @NotNull
                 SmartDirectoryCleanerCallback callback)
Removes folder providing smart error callbacks. Does not treat empty folders as errors

Parameters:
file - folder to clean
callback - cleaning events callback