Interface CleanupHistoryManager
-
- All Superinterfaces:
CleanupHistory
- All Known Implementing Classes:
CleanupHistoryImpl
public interface CleanupHistoryManager extends CleanupHistory
Provides the access to the cleanup runs history.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cleanupFinished(Date finishTime, InterruptReason reason)
Closes last cleanup history record with finish timevoid
cleanupStarted(Date startTime)
Opens new cleanup history record with given start time-
Methods inherited from interface jetbrains.buildServer.serverSide.cleanup.history.CleanupHistory
getCleanupHistory, getLastCleanupResult, getLastFinishedCleanupResult, getPreviousCleanupResult
-
-
-
-
Method Detail
-
cleanupStarted
void cleanupStarted(@NotNull Date startTime)
Opens new cleanup history record with given start time- Parameters:
startTime
- start time of the cleanup
-
cleanupFinished
void cleanupFinished(@NotNull Date finishTime, @Nullable InterruptReason reason)
Closes last cleanup history record with finish time- Parameters:
finishTime
- time of cleanup finishreason
- reason of cleanup finish. Must be null to indicate that cleanup was finished correctly
-
-