Class KeepBranchesPartition
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.cleanup.v2019.partitions.KeepBranchesPartition
-
- All Implemented Interfaces:
DbFieldsProvider,KeepPartition,KeepFeatureParamsProvider
public class KeepBranchesPartition extends Object implements KeepPartition
-
-
Field Summary
Fields Modifier and Type Field Description static StringTYPE-
Fields inherited from interface jetbrains.buildServer.serverSide.impl.cleanup.v2019.settings.KeepFeatureParamsProvider
TYPE_PARAM
-
-
Constructor Summary
Constructors Constructor Description KeepBranchesPartition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Map<String,String>getOwnParams()Provides own entity parameters to store.Collection<DbField<?>>getRequiredDbFields()Returns all the database fields that are needed for an inheritor.StringgetType()Unique entity type identifier that allows to distinct it from another.inthashCode()Collection<DbBuildsData>split(String buildTypeId, DbBuildsData builds)Splits the givenbuildsdata to the subsets according to the partition.
It is expected that allbuildsbelongs to the same build configuration with idbuildTypeId.StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.serverSide.impl.cleanup.v2019.settings.KeepFeatureParamsProvider
getParamsWithType
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRequiredDbFields
@NotNull public Collection<DbField<?>> getRequiredDbFields()
Description copied from interface:DbFieldsProviderReturns all the database fields that are needed for an inheritor.- Specified by:
getRequiredDbFieldsin interfaceDbFieldsProvider
-
split
@NotNull public Collection<DbBuildsData> split(@NotNull String buildTypeId, @NotNull DbBuildsData builds)
Description copied from interface:KeepPartitionSplits the givenbuildsdata to the subsets according to the partition.
It is expected that allbuildsbelongs to the same build configuration with idbuildTypeId.- Specified by:
splitin interfaceKeepPartition
-
getType
@NotNull public String getType()
Description copied from interface:KeepFeatureParamsProviderUnique entity type identifier that allows to distinct it from another.- Specified by:
getTypein interfaceKeepFeatureParamsProvider
-
getOwnParams
@NotNull public Map<String,String> getOwnParams()
Description copied from interface:KeepFeatureParamsProviderProvides own entity parameters to store.- Specified by:
getOwnParamsin interfaceKeepFeatureParamsProvider
-
-