org.activemath.sequencer
Class TutorialExerSeqTrainCompetencyLevel
java.lang.Object
org.activemath.sequencer.ExerciseSequencer
org.activemath.sequencer.TutorialExerciseSequencer
org.activemath.sequencer.TutorialExerSeqTrainCompetencyLevel
- All Implemented Interfaces:
- EventListener, ActivemathEventListener, AppSessionShutdownHook
public class TutorialExerSeqTrainCompetencyLevel
- extends TutorialExerciseSequencer
| Fields inherited from class org.activemath.sequencer.ExerciseSequencer |
appSession, exerciseListIterator, exercisesSkipped, exercisesSolved, exerciseStrategy, exericsesFailed, FINISHED_NOCONTENTABORT, FINISHED_SESSION_EXPIRED, FINISHED_SUCCESS, FINISHED_TIMEEXPIRED, FINISHED_USERABORT, finishReason, id, itemsSeen |
| Methods inherited from class org.activemath.sequencer.ExerciseSequencer |
addItemsAlreadySeen, addItemShown, getBookId, getExercisesSkipped, getExercisesSolved, getExerciseStrategy, getExericsesFailed, getFinishReason, getId, getItemsSeen, initExerciseListIterator, onActivemathEvent, sessionShutdown, setExercisesSkipped, setExercisesSolved, setExerciseStrategy, setExericsesFailed, setFinishReason, setItemsSeen |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LG_TRAIN_COMPETENCY_LEVEL
protected static final String LG_TRAIN_COMPETENCY_LEVEL
- Guided the learner to the next competency level
- See Also:
- Constant Field Values
initialCompetency
protected int initialCompetency
TutorialExerSeqTrainCompetencyLevel
public TutorialExerSeqTrainCompetencyLevel(AppSession appSession,
String learningGoal,
List<String> conceptIds,
String bookId)
getNextTask
public String getNextTask()
- Description copied from class:
TutorialExerciseSequencer
- Need to be override in sub class
- Specified by:
getNextTask in class TutorialExerciseSequencer
- Returns:
isGoalAchieved
public boolean isGoalAchieved()
- Description copied from class:
TutorialExerciseSequencer
- Need to be override in sub classes
- Specified by:
isGoalAchieved in class TutorialExerciseSequencer
- Returns:
- true if learning goal is achieved
false if we still need to continue with showing the next exercise
getNextExercise
public ExerciseArgumentSetting getNextExercise()
throws NoAvailableExercisesException
- Description copied from class:
ExerciseSequencer
- Prepare the next exercise.
By override this method, make sure you check if goal is achieved by calling isGoalAchieved().
- Specified by:
getNextExercise in class ExerciseSequencer
- Returns:
-
- Throws:
NoAvailableExercisesException - if we can't find one