Interface KeepInfo
-
- All Superinterfaces:
KeepBuildDataProvider
- All Known Implementing Classes:
KeepInfoImpl
public interface KeepInfo extends KeepBuildDataProvider
Provides the computed and collected builds cleanup data: what part of a build should be kept and what should be removed.- Since:
- 2019.1
- See Also:
KeepLevel,KeepBuildData
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetBuildsCount()The count of all builds to clean (for all keep levels).gnu.trove.set.TLongSetgetHistoryBuildsIds(KeepLevel keepLevel)Provides such history builds ids that should be kept with keep levelkeepLevel.List<Long>getHistoryBuildsIdsSorted(KeepLevel keepLevel)Provides sorted in natural order such history builds ids that should be kept with keep levelkeepLevel.gnu.trove.set.TLongSetgetStatisticalBuildsIdsToRemove()Provides statistical builds ids to remove (from removed_builds_history & light_history tables).List<Long>getStatisticalBuildsIdsToRemoveSorted()Provides sorted in natural order statistical builds ids to remove (from removed_builds_history & light_history tables).-
Methods inherited from interface jetbrains.buildServer.serverSide.impl.cleanup.v2019.KeepBuildDataProvider
getKeepData
-
-
-
-
Method Detail
-
getBuildsCount
int getBuildsCount()
The count of all builds to clean (for all keep levels).
-
getHistoryBuildsIds
@NotNull gnu.trove.set.TLongSet getHistoryBuildsIds(@NotNull KeepLevel keepLevel)Provides such history builds ids that should be kept with keep levelkeepLevel.
-
getStatisticalBuildsIdsToRemove
@NotNull gnu.trove.set.TLongSet getStatisticalBuildsIdsToRemove()
Provides statistical builds ids to remove (from removed_builds_history & light_history tables).
-
getHistoryBuildsIdsSorted
@NotNull List<Long> getHistoryBuildsIdsSorted(@NotNull KeepLevel keepLevel)
Provides sorted in natural order such history builds ids that should be kept with keep levelkeepLevel.
-
-