Uses of Class
jetbrains.buildServer.serverSide.CleanupLevel
-
-
Uses of CleanupLevel in jetbrains.buildServer.controllers.admin.cleanup.jsons.oldCleanup
Methods in jetbrains.buildServer.controllers.admin.cleanup.jsons.oldCleanup that return types with arguments of type CleanupLevel Modifier and Type Method Description Map<CleanupLevel,CleanupSettingsObject>EditCleanupSettingsRequestObject. getCleanupSettings() -
Uses of CleanupLevel in jetbrains.buildServer.serverSide
Fields in jetbrains.buildServer.serverSide with type parameters of type CleanupLevel Modifier and Type Field Description static List<CleanupLevel>CleanupLevel. SORTED_LEVELSMethods in jetbrains.buildServer.serverSide that return CleanupLevel Modifier and Type Method Description static CleanupLevelCleanupLevel. valueOf(String name)Returns the enum constant of this type with the specified name.static CleanupLevel[]CleanupLevel. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in jetbrains.buildServer.serverSide with parameters of type CleanupLevel Modifier and Type Method Description voidDataCleaner. performCleanup(Connection connection, long buildId, CleanupLevel cleanupLevel)Deprecated.Invoked for each build which is to be cleaned up.voidBuildHistory. removeEntry(SFinishedBuild finishedBuild, String comment, CleanupLevel cleanupLevel)Removes finished build from build history. -
Uses of CleanupLevel in jetbrains.buildServer.serverSide.cleanup
Methods in jetbrains.buildServer.serverSide.cleanup that return CleanupLevel Modifier and Type Method Description CleanupLevelBuildCleanupContext. getCleanupLevel()Methods in jetbrains.buildServer.serverSide.cleanup with parameters of type CleanupLevel Modifier and Type Method Description Collection<Long>CleanupProcessState. getProcessedBuilds(CleanupLevel... cleanupLevels)Returns ids of all builds processed on specified cleanup levels. -
Uses of CleanupLevel in jetbrains.buildServer.serverSide.fakes
Methods in jetbrains.buildServer.serverSide.fakes with parameters of type CleanupLevel Modifier and Type Method Description voidFakeBuildHistory. removeEntry(SFinishedBuild finishedBuild, String comment, CleanupLevel cleanupLevel) -
Uses of CleanupLevel in jetbrains.buildServer.serverSide.impl.auth
Methods in jetbrains.buildServer.serverSide.impl.auth with parameters of type CleanupLevel Modifier and Type Method Description voidSecuredBuildHistory. removeEntry(SFinishedBuild build, String comment, CleanupLevel cleanupLevel) -
Uses of CleanupLevel in jetbrains.buildServer.serverSide.impl.cleanup
Methods in jetbrains.buildServer.serverSide.impl.cleanup that return CleanupLevel Modifier and Type Method Description CleanupLevelBuildCleanupContextImpl. getCleanupLevel()CleanupLevelHistoryRetentionPolicy. getCleanupLevel()Methods in jetbrains.buildServer.serverSide.impl.cleanup with parameters of type CleanupLevel Modifier and Type Method Description static KeepNBuildsPolicyCleanupPolicyFactory. createBuildsPolicy(int numBuilds, CleanupLevel level)Policy to cleanup builds older than the N'th successful buildstatic KeepNDaysMBuildsPolicyCleanupPolicyFactory. createDaysAndBuildsPolicy(int numDays, int numBuilds, CleanupLevel level)static KeepNDaysPolicyCleanupPolicyFactory. createDaysPolicy(int numDays, CleanupLevel level)Policy to cleanup builds more than N days older than the last build regardless of it's statusstatic HistoryRetentionPolicyCleanupPolicyFactory. createPolicy(String policyType, Map<String,String> policyParams, CleanupLevel cleanupLevel)Collection<Long>ServerCleanupState. getProcessedBuilds(CleanupLevel... cleanupLevels)booleanCleanupProcessStateEx. isAnyProcessedBuildForLevel(CleanupLevel cleanupLevel)Returnstrueif there is at least one processed build at specified level,falseotherwise.booleanServerCleanupState. isAnyProcessedBuildForLevel(CleanupLevel cleanupLevel)voidCleanupProcessStateEx. onExtensionError(String extensionName, Collection<? extends SBuild> builds, String errorMessage, CleanupLevel level)Stores an information about an error happened during the cleanup extension call and about affected builds.voidServerCleanupState. onExtensionError(String extensionName, Collection<? extends SBuild> builds, String errorMessage, CleanupLevel level)voidCleanupProcessStateEx. reportBuildsProcessed(List<Long> buildIds, CleanupLevel cleanupLevel)Sets ids of builds already processed by cleanupvoidServerCleanupState. reportBuildsProcessed(List<Long> buildIds, CleanupLevel cleanupLevel)static KeepLevelCleanupUtils. toKeepLevel(CleanupLevel cleanupLevel)A method that maps CleanupLevel to KeepLevel in such a way that most appropriate KeepLevel is selected (KeepLevel enum is more granular).Constructors in jetbrains.buildServer.serverSide.impl.cleanup with parameters of type CleanupLevel Constructor Description BuildCleanupContextImpl(CleanupLevel cleanupLevel, List<SFinishedBuild> builds, CleanupProcessStateEx cleanupState, KeepBuildDataProvider keepBuildDataProvider, DBBuildHistory buildHistory)HistoryRetentionPolicy(String id, String policyType, Map<String,String> parameters, CleanupLevel cleanupLevel) -
Uses of CleanupLevel in jetbrains.buildServer.serverSide.impl.cleanup.v2019
Methods in jetbrains.buildServer.serverSide.impl.cleanup.v2019 with parameters of type CleanupLevel Modifier and Type Method Description KeepBuildDataKeepBuildDataProvider. getKeepData(long buildId, CleanupLevel cleanupLevel)Provides the build data to preserve for the given build id and cleanup level. -
Uses of CleanupLevel in jetbrains.buildServer.serverSide.impl.cleanup.v2019.impl
Methods in jetbrains.buildServer.serverSide.impl.cleanup.v2019.impl with parameters of type CleanupLevel Modifier and Type Method Description KeepBuildDataKeepInfoImpl. getKeepData(long buildId, CleanupLevel level) -
Uses of CleanupLevel in jetbrains.buildServer.serverSide.impl.history
Methods in jetbrains.buildServer.serverSide.impl.history with parameters of type CleanupLevel Modifier and Type Method Description voidDBBuildHistory. removeEntry(SFinishedBuild entry, String comment, CleanupLevel cleanupLevel)Removing a finished build.
-