Interface AfterBuildsCleanupExtension
-
- All Superinterfaces:
ServerExtension
,TeamCityExtension
- All Known Subinterfaces:
CleanupExtension
- All Known Implementing Classes:
AgentPoolManagerImpl
,AuditLogCleanerImpl
,AutomaticAgentAuthorizationTokens
,BuildCachesCleaner
,BuildDataStorageImpl
,BuildTablesCleanerImpl
,BuildTypeIdentifiersManagerImpl
,CleanupExtensionAdapter
,CleanupUnlinkedGeneratedProjects
,CloudManagerBaseImpl
,CustomDataStorageManagerImpl
,DBBackedBuildCounters
,GeneratedSettingsCache
,InvalidHistoryRecordsCleaner
,InvestigationsCleanupExtension
,LostBuildsCleaner
,MetadataStorageBean
,ObsoleteBuildProblemResponsibilitiesCleanupExtension
,ObsoleteFilesCleaner
,OldAgentsCleaner
,PersistTasksStorage
,PersonalBuildCleaner
,ProjectIdentifiersManagerImpl
,SpaceReceiveInitPayloadTaskCleaner
,TestFailureRateCollector
,TestMetadataCleaner
,TestMetadataStorage
,TestNamesCleaner
,ThreadDumpsCleaner
,ThreadTracesCleaner
,UserGroupCleanupExtension
,UserModelImpl
,VcsChangesStorage.VcsChangeTableCleaner
,VcsModificationsCleaner
public interface AfterBuildsCleanupExtension extends ServerExtension
Invoked after allBuildsCleanupExtension
processing.- Since:
- 2022.1
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
afterCleanup(CleanupProcessState cleanupState)
Invoked upon finishing of the main cleanup process.
-
-
-
Method Detail
-
afterCleanup
default void afterCleanup(@NotNull CleanupProcessState cleanupState) throws CleanupInterruptedException, Exception
Invoked 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.- Parameters:
cleanupState
- cleanup process state- Throws:
CleanupInterruptedException
- if the cleanup process was interruptedException
- on any other error
-
-