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_LEVELS
Methods in jetbrains.buildServer.serverSide that return CleanupLevel Modifier and Type Method Description static CleanupLevel
CleanupLevel. 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 void
DataCleaner. performCleanup(Connection connection, long buildId, CleanupLevel cleanupLevel)
Deprecated.Invoked for each build which is to be cleaned up.void
BuildHistory. 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 CleanupLevel
BuildCleanupContext. 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 void
FakeBuildHistory. 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 void
SecuredBuildHistory. 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 CleanupLevel
BuildCleanupContextImpl. getCleanupLevel()
CleanupLevel
HistoryRetentionPolicy. getCleanupLevel()
Methods in jetbrains.buildServer.serverSide.impl.cleanup with parameters of type CleanupLevel Modifier and Type Method Description static KeepNBuildsPolicy
CleanupPolicyFactory. createBuildsPolicy(int numBuilds, CleanupLevel level)
Policy to cleanup builds older than the N'th successful buildstatic KeepNDaysMBuildsPolicy
CleanupPolicyFactory. createDaysAndBuildsPolicy(int numDays, int numBuilds, CleanupLevel level)
static KeepNDaysPolicy
CleanupPolicyFactory. createDaysPolicy(int numDays, CleanupLevel level)
Policy to cleanup builds more than N days older than the last build regardless of it's statusstatic HistoryRetentionPolicy
CleanupPolicyFactory. createPolicy(String policyType, Map<String,String> policyParams, CleanupLevel cleanupLevel)
Collection<Long>
ServerCleanupState. getProcessedBuilds(CleanupLevel... cleanupLevels)
boolean
CleanupProcessStateEx. isAnyProcessedBuildForLevel(CleanupLevel cleanupLevel)
Returnstrue
if there is at least one processed build at specified level,false
otherwise.boolean
ServerCleanupState. isAnyProcessedBuildForLevel(CleanupLevel cleanupLevel)
void
CleanupProcessStateEx. 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.void
ServerCleanupState. onExtensionError(String extensionName, Collection<? extends SBuild> builds, String errorMessage, CleanupLevel level)
void
CleanupProcessStateEx. reportBuildsProcessed(List<Long> buildIds, CleanupLevel cleanupLevel)
Sets ids of builds already processed by cleanupvoid
ServerCleanupState. reportBuildsProcessed(List<Long> buildIds, CleanupLevel cleanupLevel)
static KeepLevel
CleanupUtils. 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 KeepBuildData
KeepBuildDataProvider. 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 KeepBuildData
KeepInfoImpl. 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 void
DBBuildHistory. removeEntry(SFinishedBuild entry, String comment, CleanupLevel cleanupLevel)
Removing a finished build.
-