org.activemath.webapp.evaluators
Class Evaluators

java.lang.Object
  extended by org.activemath.webapp.evaluators.Evaluators
All Implemented Interfaces:
EvaluatorCentral

public class Evaluators
extends Object
implements EvaluatorCentral

Evaluators.java A class wrapping all evaluators we have. Gets user events via the EvaluatorCouplingCreated: Tue Nov 27 16:11:47 2001


Field Summary
protected static Logger thisLogCat
           
 
Method Summary
 void elementHasBeenSeen(User usr, String mid, String session, long start, long end)
           
 void endExercise(User usr, String pid, long time, double success, String session)
           
 void endPageBrowsed(User usr, List ids, long time, String session, String page)
           
static Evaluators getInstance()
           
 void logout(String user)
           
 void startExercise(User usr, String pid, long time, String proxy, String session)
           
 void startPageBrowsed(User usr, List ids, long time, String session, String page)
           
 String toString()
          Returns a String representation of this EvaluatorCentral suitable for debugging.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

thisLogCat

protected static Logger thisLogCat
Method Detail

getInstance

public static Evaluators getInstance()

startPageBrowsed

public void startPageBrowsed(User usr,
                             List ids,
                             long time,
                             String session,
                             String page)
Specified by:
startPageBrowsed in interface EvaluatorCentral

endPageBrowsed

public void endPageBrowsed(User usr,
                           List ids,
                           long time,
                           String session,
                           String page)
Specified by:
endPageBrowsed in interface EvaluatorCentral

startExercise

public void startExercise(User usr,
                          String pid,
                          long time,
                          String proxy,
                          String session)
Specified by:
startExercise in interface EvaluatorCentral

endExercise

public void endExercise(User usr,
                        String pid,
                        long time,
                        double success,
                        String session)
Specified by:
endExercise in interface EvaluatorCentral

elementHasBeenSeen

public void elementHasBeenSeen(User usr,
                               String mid,
                               String session,
                               long start,
                               long end)
Specified by:
elementHasBeenSeen in interface EvaluatorCentral

toString

public String toString()
Returns a String representation of this EvaluatorCentral suitable for debugging.

Overrides:
toString in class Object
Returns:
a String containing the information on all fields in this EvaluatorCentral (can get huge).

logout

public void logout(String user)
Specified by:
logout in interface EvaluatorCentral