Class NullBucketContentFactory
java.lang.Object
com.evolveum.midpoint.repo.common.activity.run.buckets.segmentation.NullBucketContentFactory
- All Implemented Interfaces:
BucketContentFactory
Implements work state "segmentation" into single null work bucket.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateNextBucketContent
(AbstractWorkBucketContentType lastBucketContent, Integer lastBucketSequentialNumber) Creates a content for the next bucket in a sequence.Estimates total number of buckets.
-
Constructor Details
-
NullBucketContentFactory
public NullBucketContentFactory()
-
-
Method Details
-
createNextBucketContent
public AbstractWorkBucketContentType createNextBucketContent(AbstractWorkBucketContentType lastBucketContent, Integer lastBucketSequentialNumber) throws SchemaException Description copied from interface:BucketContentFactory
Creates a content for the next bucket in a sequence.- Specified by:
createNextBucketContent
in interfaceBucketContentFactory
- Returns:
- null if there is no next bucket
- Throws:
SchemaException
-
estimateNumberOfBuckets
Description copied from interface:BucketContentFactory
Estimates total number of buckets.- Specified by:
estimateNumberOfBuckets
in interfaceBucketContentFactory
- Returns:
- null if the number cannot be determined
-