Class CleanHandleImpl
- java.lang.Object
-
- jetbrains.buildServer.agent.impl.upgrade.freeSpace.CleanHandleImpl
-
- All Implemented Interfaces:
CleanHandle
public class CleanHandleImpl extends Object implements CleanHandle
- Author:
- Eugene Petrenko (eugene.petrenko@gmail.com) Date: 19.03.12 15:51
-
-
Constructor Summary
Constructors Constructor Description CleanHandleImpl(String name, long lastUsedTime, File root, Runnable cleanAction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanup()
performs cleanuplong
getLastUsedTime()
File
getRoot()
-
-
-
Method Detail
-
getLastUsedTime
public long getLastUsedTime()
-
getRoot
@NotNull public File getRoot()
- Specified by:
getRoot
in interfaceCleanHandle
- Returns:
- clean root folder/file
-
cleanup
public void cleanup()
Description copied from interface:CleanHandle
performs cleanup- Specified by:
cleanup
in interfaceCleanHandle
-
-