Class StringBucketContentFactory
- java.lang.Object
-
- com.evolveum.midpoint.repo.common.activity.run.buckets.BaseBucketContentFactory<StringWorkSegmentationType>
-
- com.evolveum.midpoint.repo.common.activity.run.buckets.segmentation.StringBucketContentFactory
-
- All Implemented Interfaces:
BucketContentFactory
public class StringBucketContentFactory extends BaseBucketContentFactory<StringWorkSegmentationType>
Creates content of string-based buckets (defined byStringWorkSegmentationType
and its subtypes).
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.repo.common.activity.run.buckets.BaseBucketContentFactory
prismContext, segmentationConfig
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractWorkBucketContentType
createNextBucketContent(AbstractWorkBucketContentType lastBucketContent, Integer lastBucketSequentialNumber)
Creates a content for the next bucket in a sequence.Integer
estimateNumberOfBuckets()
Estimates total number of buckets.@NotNull List<String>
getBoundaries()
-
-
-
Method Detail
-
createNextBucketContent
public AbstractWorkBucketContentType createNextBucketContent(AbstractWorkBucketContentType lastBucketContent, Integer lastBucketSequentialNumber)
Description copied from interface:BucketContentFactory
Creates a content for the next bucket in a sequence.- Returns:
- null if there is no next bucket
-
estimateNumberOfBuckets
public Integer estimateNumberOfBuckets()
Description copied from interface:BucketContentFactory
Estimates total number of buckets.- Returns:
- null if the number cannot be determined
-
-