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 (withKeepFilterandKeepPartitionrespectively). Builds passed the limit will be kept by theKeepRulecontaining 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.TLongCollectionlimit(DbBuildsData builds)Limitsbuildsthat should be kept according to the limit.
It is expected that allbuildsbelong 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)Limitsbuildsthat should be kept according to the limit.
It is expected that allbuildsbelong to the same build configuration. Build ids ofbuildsare sorted in descending order.
-
-