Interface CoverageCalculationStrategy
-
- All Known Implementing Classes:
SimpleCockpitCoverageCalculationStrategy,SimpleCoverageCalculationStrategy,ValidationBasedCoverageCalculationStrategy
public interface CoverageCalculationStrategyStrategy for calculation coverage of an item. SeeCoverageCalculationServicefor description of what coverage means.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CoverageInfocalculate(ItemModel item)Calculates the coverage of the givenitem.
-
-
-
Method Detail
-
calculate
CoverageInfo calculate(ItemModel item)
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).
-
-