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 Type
    Method
    Description
    Calculates the coverage of the given item.
  • Method Details

    • calculate

      CoverageInfo calculate(ItemModel item)
      Calculates the coverage of the given item.
      Parameters:
      item - the item to calculate the coverage for
      Returns:
      the CoverageInfo object with cumulated coverage information or null, if coverage could not be calculated (e.g. because no rules are defined).