Class GermanyFormulaHelper

All Implemented Interfaces:

@Component @Primary public class GermanyFormulaHelper extends Object implements FormulaHelper
  • Constructor Details

  • Method Details

    • calculateGrade

      public BigDecimal calculateGrade(BigDecimal maxPoints, BigDecimal points)
      Description copied from interface: FormulaHelper
      Compute the grade based on the points and the max points node.getMaxPoints()
      Specified by:
      calculateGrade in interface FormulaHelper
      maxPoints - the max points of the node a grade is calculated for
      points - the points that were actually reached