Package net.starype.quiz.api.game.answer
Class WordAnswerEvaluator
- java.lang.Object
-
- net.starype.quiz.api.game.answer.WordAnswerEvaluator
-
- All Implemented Interfaces:
AnswerEvaluator
public class WordAnswerEvaluator extends java.lang.Object implements AnswerEvaluator
-
-
Constructor Summary
Constructors Constructor Description WordAnswerEvaluator(WordCorrectness wordCorrectness)
-
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
-
WordAnswerEvaluator
public WordAnswerEvaluator(WordCorrectness wordCorrectness)
-
-
Method Detail
-
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
-
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
-
-