Class ExplicitBucketContentFactory
- java.lang.Object
-
- com.evolveum.midpoint.repo.common.activity.run.buckets.BaseBucketContentFactory<ExplicitWorkSegmentationType>
-
- com.evolveum.midpoint.repo.common.activity.run.buckets.segmentation.ExplicitBucketContentFactory
-
- All Implemented Interfaces:
BucketContentFactory
public class ExplicitBucketContentFactory extends BaseBucketContentFactory<ExplicitWorkSegmentationType>
Segmentation strategy based on explicit enumeration of buckets.
-
-
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.
-
-
-
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
-
-