mauda.feedback.types
Class ErrorFlagging

java.lang.Object
  extended by mauda.feedback.SimpleFeedback
      extended by mauda.feedback.types.ErrorFlagging
All Implemented Interfaces:
ExerciseUpdateListener

public class ErrorFlagging
extends SimpleFeedback

Provides the logic for Error Flagging

Author:
Markus Krebs

Field Summary
 
Fields inherited from class mauda.feedback.SimpleFeedback
feedbackGenerator, MAX_TRIES
 
Constructor Summary
ErrorFlagging(FeedbackExercise exercise)
          Creates a ErrorFlagging-Feedback
 
Method Summary
 int getFeedbackTypeID()
          Returns the FeedbackTypeID
 void load(java.util.HashMap hm)
          Loads the values of this feedback with the values from the delivered HashMap-representation
 java.util.HashMap save()
          Converts all feedback-values in a HashMap-representation for saving-purposes
 
Methods inherited from class mauda.feedback.SimpleFeedback
displayLoadingMessage, exerciseFinished, exerciseUpdate, getEvaluator, getFeedbackGenerator, getInitOperationQueue, getTodoOperationQueue, setEvaluator, setInitOperationQueue, setTodoOperationQueue, switchTo
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorFlagging

public ErrorFlagging(FeedbackExercise exercise)
Creates a ErrorFlagging-Feedback

Parameters:
exercise -
Method Detail

getFeedbackTypeID

public int getFeedbackTypeID()
Description copied from class: SimpleFeedback
Returns the FeedbackTypeID

Overrides:
getFeedbackTypeID in class SimpleFeedback
Returns:
feedback-type-ID
See Also:
FeedbackSelector

save

public java.util.HashMap save()
Description copied from class: SimpleFeedback
Converts all feedback-values in a HashMap-representation for saving-purposes

Overrides:
save in class SimpleFeedback
Returns:
HashMap-representation

load

public void load(java.util.HashMap hm)
Description copied from class: SimpleFeedback
Loads the values of this feedback with the values from the delivered HashMap-representation

Overrides:
load in class SimpleFeedback
Parameters:
hm - HashMap-representation