org.activemath.sequencer
Class ExerciseSequencerFactory

java.lang.Object
  extended by org.activemath.sequencer.ExerciseSequencerFactory

public class ExerciseSequencerFactory
extends Object

Help to create the appropriate instance of exercise sequencer with different signature.


Method Summary
static ExerciseSequencer createExerciseSequencer(String type, AppSession appSession, List<ExerciseArgumentSetting> givenExercises, String learningGoal, List<String> conceptIds, String bookId, int numExerciseSuccessful, int timeOut)
          Looks up the parameter "type" to decide which kind of sequencer it should create.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createExerciseSequencer

public static ExerciseSequencer createExerciseSequencer(String type,
                                                        AppSession appSession,
                                                        List<ExerciseArgumentSetting> givenExercises,
                                                        String learningGoal,
                                                        List<String> conceptIds,
                                                        String bookId,
                                                        int numExerciseSuccessful,
                                                        int timeOut)
Looks up the parameter "type" to decide which kind of sequencer it should create.

Parameters:
type -
appSession -
givenExercises -
learningGoal -
conceptIds -
bookId -
Returns:
a specific subclass of ExerciseSequencer