Class CleanupUnlinkedGeneratedProjects
- java.lang.Object
 - 
- jetbrains.buildServer.virtualConfiguration.processor.impl.CleanupUnlinkedGeneratedProjects
 
 
- 
- All Implemented Interfaces:
 AfterBuildsCleanupExtension,ServerExtension,TeamCityExtension
public class CleanupUnlinkedGeneratedProjects extends Object implements AfterBuildsCleanupExtension
 
- 
- 
Constructor Summary
Constructors Constructor Description CleanupUnlinkedGeneratedProjects(ProjectManager projectManager, TimeService timeService) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterCleanup(CleanupProcessState cleanupState)Invoked upon finishing of the main cleanup process.voidsetTimeService(TimeService timeService) 
 - 
 
- 
- 
Constructor Detail
- 
CleanupUnlinkedGeneratedProjects
public CleanupUnlinkedGeneratedProjects(@NotNull ProjectManager projectManager, @NotNull TimeService timeService) 
 - 
 
- 
Method Detail
- 
setTimeService
public void setTimeService(@NotNull TimeService timeService) 
- 
afterCleanup
public void afterCleanup(@NotNull CleanupProcessState cleanupState) throws ExceptionDescription copied from interface:AfterBuildsCleanupExtensionInvoked upon finishing of the main cleanup process. At this point all data for specific builds is deleted.
Note: This extension might not be called for every cleanup run as cleanup process can be interrupted earlier. Extension must check cleanup process state and if it is interrupted, complete its operations and return as quick as possible.- Specified by:
 afterCleanupin interfaceAfterBuildsCleanupExtension- Parameters:
 cleanupState- cleanup process state- Throws:
 CleanupInterruptedException- if the cleanup process was interruptedException- on any other error
 
 - 
 
 -