org.activemath.webapp.tools
Class TaskGenerationController
java.lang.Object
org.infohazard.maverick.ctl.Throwaway2
org.infohazard.maverick.ctl.ThrowawayBean2
org.activemath.webapp.base.ControllerBase
org.activemath.webapp.tools.TaskGenerationController
- All Implemented Interfaces:
- Controller
public class TaskGenerationController
- extends ControllerBase
A simple controller that used the IDEAS DR services to generate exercise tasks for the given domain.
| Methods inherited from class org.activemath.webapp.base.ControllerBase |
addError, addError, enableNoCache, escapeForHtmlSafety, getAccountManager, getAppSession, getCmdName, getCurrentUser, getErrors, getHttpSession, getLanguage, getModel, getOutputFormat, getRequest, getResponse, getSkin, hasErrors, perform, publishControllerEvent, sendError, sendError, sendJson, sendLoginRequired, sendRedirect, sendRedirect, setPasswd, setUser |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TaskGenerationController
public TaskGenerationController()
action
public String action()
throws Exception
- Description copied from class:
ControllerBase
- This is the method you should override to implement application logic.
- Overrides:
action in class ControllerBase
- Throws:
Exception
getContext
public String getContext()
setContext
public void setContext(String context)
getDifficulty
public int getDifficulty()
setDifficulty
public void setDifficulty(int difficulty)