Interface KeepPartition
-
- All Superinterfaces:
DbFieldsProvider
,KeepFeatureParamsProvider
- All Known Implementing Classes:
KeepBranchesPartition
,KeepPersonalityPartition
,LegacyKeepBranchesPartition
public interface KeepPartition extends DbFieldsProvider, KeepFeatureParamsProvider
Defines builds set splitting for someKeepRule
. EachKeepLimit
will be applied to builds subset separately.- 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 Collection<DbBuildsData>
split(String buildTypeId, DbBuildsData builds)
Splits the givenbuilds
data to the subsets according to the partition.
It is expected that allbuilds
belongs to the same build configuration with idbuildTypeId
.-
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
-
split
@NotNull Collection<DbBuildsData> split(@NotNull String buildTypeId, @NotNull DbBuildsData builds)
Splits the givenbuilds
data to the subsets according to the partition.
It is expected that allbuilds
belongs to the same build configuration with idbuildTypeId
.
-
-