Interface KeepLimit
-
- All Superinterfaces:
DbFieldsProvider
,KeepFeatureParamsProvider
- All Known Implementing Classes:
KeepAllLimit
,KeepLastNDaysLimit
,KeepNDaysSinceLastBuildLimit
,KeepNDaysSinceLastSuccessfulBuildLimit
,KeepNLastBuildsLimit
,LegacyKeepNBuildsLimit
,LegacyKeepNDaysLimit
,LegacyKeepNDaysMBuildsLimit
public interface KeepLimit extends DbFieldsProvider, KeepFeatureParamsProvider
Limits builds collection after filtering and partitioning (withKeepFilter
andKeepPartition
respectively). Builds passed the limit will be kept by theKeepRule
containing the limit.- Since:
- 2019.1
-
-
Field Summary
-
Fields inherited from interface jetbrains.buildServer.serverSide.impl.cleanup.v2019.settings.KeepFeatureParamsProvider
TYPE_PARAM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description gnu.trove.TLongCollection
limit(DbBuildsData builds)
Limitsbuilds
that should be kept according to the limit.
It is expected that allbuilds
belong to the same build configuration.-
Methods inherited from interface jetbrains.buildServer.serverSide.impl.cleanup.v2019.db.DbFieldsProvider
getRequiredDbFields
-
Methods inherited from interface jetbrains.buildServer.serverSide.impl.cleanup.v2019.settings.KeepFeatureParamsProvider
getOwnParams, getParamsWithType, getType
-
-
-
-
Method Detail
-
limit
@NotNull gnu.trove.TLongCollection limit(@NotNull DbBuildsData builds)
Limitsbuilds
that should be kept according to the limit.
It is expected that allbuilds
belong to the same build configuration. Build ids ofbuilds
are sorted in descending order.
-
-