Interface CoverageCalculationStrategy
- All Known Implementing Classes:
SimpleCockpitCoverageCalculationStrategy,SimpleCoverageCalculationStrategy,ValidationBasedCoverageCalculationStrategy
public interface CoverageCalculationStrategy
Strategy for calculation coverage of an item. See
CoverageCalculationService for description of what coverage means.-
Method Summary
Modifier and TypeMethodDescriptionCalculates the coverage of the givenitem.
-
Method Details
-
calculate
Calculates the coverage of the givenitem.- Parameters:
item- the item to calculate the coverage for- Returns:
- the
CoverageInfoobject with cumulated coverage information or null, if coverage could not be calculated (e.g. because no rules are defined).
-