Package net.starype.quiz.api.game.answer
Class ExactAnswerEvaluator
- java.lang.Object
-
- net.starype.quiz.api.game.answer.ExactAnswerEvaluator
-
- All Implemented Interfaces:
AnswerEvaluator
public class ExactAnswerEvaluator extends java.lang.Object implements AnswerEvaluator
-
-
Constructor Summary
Constructors Constructor Description ExactAnswerEvaluator(java.util.Set<Answer> answers)
-
Method Summary
Modifier and Type Method Description CorrectnessEvaluator
getCorrectnessEvaluator()
Retrieve the third step of the process, used to evaluate the accuracy of the processed and valid answer.ValidityEvaluator
getValidityEvaluator()
Retrieve the second step of the process, used to verify that a processed answer is valid.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.starype.quiz.api.game.answer.AnswerEvaluator
getProcessor
-
-
-
-
Constructor Detail
-
ExactAnswerEvaluator
public ExactAnswerEvaluator(java.util.Set<Answer> answers)
-
-
Method Detail
-
getCorrectnessEvaluator
public CorrectnessEvaluator getCorrectnessEvaluator()
Description copied from interface:AnswerEvaluator
Retrieve the third step of the process, used to evaluate the accuracy of the processed and valid answer.- Specified by:
getCorrectnessEvaluator
in interfaceAnswerEvaluator
- Returns:
- the
CorrectnessEvaluator
object
-
getValidityEvaluator
public ValidityEvaluator getValidityEvaluator()
Description copied from interface:AnswerEvaluator
Retrieve the second step of the process, used to verify that a processed answer is valid.- Specified by:
getValidityEvaluator
in interfaceAnswerEvaluator
- Returns:
- the
ValidityEvaluator
object
-
-