public interface DataQualityCalculationService
| Modifier and Type | Method and Description |
|---|---|
Optional<DataQuality> |
calculate(Object object,
String domainId)
Calculates the coverage of the given
object |
Optional<DataQuality> |
calculate(Object object,
String templateCode,
String domainId)
Calculates the coverage of the given
object |
Optional<DataQuality> calculate(Object object, String domainId)
object.
The domainId can be used to distinguish between multiple
coverage calculation strategies per domain (e.g. text translation coverage,
print related coverage etc.)object - the object to calculate the coverage fordomainId - the domain Id if applicableOptional<DataQuality> object with cumulated coverage information or
Optional.empty() value if no strategy was registered for given object and domain IDOptional<DataQuality> calculate(Object object, String templateCode, String domainId)
object.
The domainId can be used to distinguish between multiple
coverage calculation strategies per domain (e.g. text translation coverage,
print related coverage etc.)object - the object to calculate the coverage fortemplateCode - the object template to be used for finding the proper calculation strategydomainId - the domain Id if applicableOptional<DataQuality> object with cumulated coverage information or
Optional.empty() if no strategy
was registered for given object and domain IDCopyright © 2018. All rights reserved.