org.activemath.learner.model
Class LearnerModelProvider

java.lang.Object
  extended by org.activemath.learner.model.LearnerModelProvider

public class LearnerModelProvider
extends Object

This class provides access to the learner models. Configuration via property 'learnermodels.available' (CSV)


Field Summary
protected static Logger log
           
static String NOP_LM
           
static String SIMPLE_LM
           
 
Method Summary
 LearnerModelInterface getDefaultLearnerModel()
           
 String getDefaultLearnerModelName()
           
static LearnerModelProvider getInstance()
           
 LearnerModelInterface getLearnerModel(String name)
           
 List<String> getSupportedModels()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static Logger log

SIMPLE_LM

public static final String SIMPLE_LM
See Also:
Constant Field Values

NOP_LM

public static final String NOP_LM
See Also:
Constant Field Values
Method Detail

getInstance

public static final LearnerModelProvider getInstance()

getSupportedModels

public List<String> getSupportedModels()
Returns:
id list of supported learner models (List of String)

getLearnerModel

public LearnerModelInterface getLearnerModel(String name)
Parameters:
name - - id of learner model
Returns:
interface for that learner model

getDefaultLearnerModelName

public String getDefaultLearnerModelName()
Returns:
id of default learner model

getDefaultLearnerModel

public LearnerModelInterface getDefaultLearnerModel()
Returns:
interface of default learner model