org.activemath.learner.model
Class LearnerModelProvider
java.lang.Object
org.activemath.learner.model.LearnerModelProvider
public class LearnerModelProvider
- extends Object
This class provides access to the learner models.
Configuration via property 'learnermodels.available' (CSV)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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