Class KeepPersonalityPartition
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.cleanup.v2019.partitions.KeepPersonalityPartition
-
- All Implemented Interfaces:
DbFieldsProvider
,KeepPartition
,KeepFeatureParamsProvider
public class KeepPersonalityPartition extends Object implements KeepPartition
-
-
Field Summary
Fields Modifier and Type Field Description static String
TYPE
-
Fields inherited from interface jetbrains.buildServer.serverSide.impl.cleanup.v2019.settings.KeepFeatureParamsProvider
TYPE_PARAM
-
-
Constructor Summary
Constructors Constructor Description KeepPersonalityPartition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(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.String
getType()
Unique entity type identifier that allows to distinct it from another.int
hashCode()
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
.String
toString()
-
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:DbFieldsProvider
Returns all the database fields that are needed for an inheritor.- Specified by:
getRequiredDbFields
in interfaceDbFieldsProvider
-
split
@NotNull public Collection<DbBuildsData> split(@NotNull String buildTypeId, @NotNull DbBuildsData builds)
Description copied from interface:KeepPartition
Splits the givenbuilds
data to the subsets according to the partition.
It is expected that allbuilds
belongs to the same build configuration with idbuildTypeId
.- Specified by:
split
in interfaceKeepPartition
-
getType
@NotNull public String getType()
Description copied from interface:KeepFeatureParamsProvider
Unique entity type identifier that allows to distinct it from another.- Specified by:
getType
in interfaceKeepFeatureParamsProvider
-
getOwnParams
@NotNull public Map<String,String> getOwnParams()
Description copied from interface:KeepFeatureParamsProvider
Provides own entity parameters to store.- Specified by:
getOwnParams
in interfaceKeepFeatureParamsProvider
-
-