Class ClozePointCalculator
java.lang.Object
ch.tocco.nice2.optional.survey.impl.pointcalculator.ClozePointCalculator
- All Implemented Interfaces:
PointCalculator
-
Constructor Summary
ConstructorDescriptionClozePointCalculator
(QueryBuilderFactory queryBuilderFactory, Context context) -
Method Summary
Modifier and TypeMethodDescriptioncalculateActualPoints
(Entity questionAnswerEntity) calculateMaxPoints
(Entity questionEntity, @Nullable Entity deletedAnswerEntity) getTypes()
-
Constructor Details
-
ClozePointCalculator
-
-
Method Details
-
getTypes
- Specified by:
getTypes
in interfacePointCalculator
-
calculateMaxPoints
public BigDecimal calculateMaxPoints(Entity questionEntity, @Nullable @Nullable Entity deletedAnswerEntity) - Specified by:
calculateMaxPoints
in interfacePointCalculator
-
calculateActualPoints
- Specified by:
calculateActualPoints
in interfacePointCalculator
-