ch.tatool.core.element.handler.score
Class NullablePointAdaptor
java.lang.Object
ch.tatool.core.element.AbstractPropertyHolder
ch.tatool.core.element.NodeImpl
ch.tatool.core.element.handler.score.AbstractPointAdaptor
ch.tatool.core.element.handler.score.NullablePointAdaptor
- All Implemented Interfaces:
- PointsAndLevelHandler.PointAdaptor, PropertyHolder, Node
public class NullablePointAdaptor
- extends AbstractPointAdaptor
- implements PointsAndLevelHandler.PointAdaptor
Simply sets all points to zero, effectively removing the trial outcome from the
score and level handler results.
This adaptor can be used in cases where an exercise is solely used to distract the
user while the actual results are not important for the exercise.
- Author:
- Michael Ruflin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullablePointAdaptor
public NullablePointAdaptor()
adaptPoints
public void adaptPoints(PointsAndLevelHandler handler,
ExecutionContext context)
- Description copied from class:
AbstractPointAdaptor
- To be implemented by subclasses.
- Specified by:
adaptPoints in interface PointsAndLevelHandler.PointAdaptor- Specified by:
adaptPoints in class AbstractPointAdaptor
Copyright © 2012. All Rights Reserved.