public final class QuizOutputProcessorManagementService extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
changeProcessorEnabling(String strProcessorId,
int nIdQuiz)
Enable or disable a processor for a given quiz.
|
void |
disableProcessors(int nIdQuiz)
Disable every enabled processors for a given quiz
|
static QuizOutputProcessorManagementService |
getInstance()
Get the instance of the service
|
IQuizOutputProcessor |
getProcessor(String strProcessorId)
Get a processor from its id
|
List<IQuizOutputProcessor> |
getProcessorsList()
Get the list of every processors
|
boolean |
isProcessorEnabled(String strProcessorId,
int nIdQuiz)
Check if a processor is enabled or not for a given quiz
|
void |
processEnabledProcessors(Map<String,String[]> mapAnswers,
String strScore,
int nIdQuiz)
Process every enabled processors for a given quiz over answers made by a
user
|
public static QuizOutputProcessorManagementService getInstance()
public List<IQuizOutputProcessor> getProcessorsList()
public IQuizOutputProcessor getProcessor(String strProcessorId)
strProcessorId - The id of the processor to getpublic boolean isProcessorEnabled(String strProcessorId, int nIdQuiz)
strProcessorId - The id of the processor to checknIdQuiz - The id of the quizpublic void changeProcessorEnabling(String strProcessorId, int nIdQuiz)
nIdQuiz - The id of the quizstrProcessorId - The id of the processor to enable or disablepublic void disableProcessors(int nIdQuiz)
nIdQuiz - the id of the quiz to disable processors ofCopyright © 2019 City of Paris. All rights reserved.