Class BucketServiceFactory
java.lang.Object
overit.geocallapp.wfm.roughplanning.bl.bucket.BucketServiceFactory
The BucketServiceFactory class is responsible for creating instances of the
BucketService interface based on the specified TimeUnit and TimeSize.
- Since:
- 18.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic BucketServicegetBucketService(Long roughPlanning, TimeUnit timeUnit, Long timeSize) Returns a specific bucket service
-
Method Details
-
getBucketService
Returns a specific bucket service- Parameters:
roughPlanning- the id of rough planningtimeUnit- the time unit for the bucket creationtimeSize- the time size for the bucket creation- Returns:
- an instance of
BucketService - Throws:
UnsupportedOperationException- if time unit is of unknown type
-