Class CheckstyleEvaluator
java.lang.Object
de.hsh.graja.core.modules.checkstyle.CheckstyleEvaluator
- All Implemented Interfaces:
ModuleEvaluator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateGradingAspectResult(ModuleRunnerResult mrr, GradingAspect aspect, ModuleConfiguration moduleCfg, ResultSpec resultSpec, int level) Create a resultGradingAspectResultobject for aGradingAspectobject.doublegetSuccessRate(ModuleRunnerResult mrr, GradingAspect aspect, ModuleConfiguration moduleCfg)
-
Constructor Details
-
CheckstyleEvaluator
public CheckstyleEvaluator()
-
-
Method Details
-
createGradingAspectResult
public GradingAspectResult createGradingAspectResult(ModuleRunnerResult mrr, GradingAspect aspect, ModuleConfiguration moduleCfg, ResultSpec resultSpec, int level) Description copied from interface:ModuleEvaluatorCreate a resultGradingAspectResultobject for aGradingAspectobject.- Specified by:
createGradingAspectResultin interfaceModuleEvaluator- Parameters:
mrr- the result of the module runner as input parameteraspect- for this aspect this method creates a result. This is an input parameter.moduleCfg- the module configuration as input parameterresultSpec- the specificiation of result parameterslevel- a number 1 or greater meaning the distance from the aspect to the root of the grading scheme tree.- Returns:
- the result object created by this method
-
getSuccessRate
public double getSuccessRate(ModuleRunnerResult mrr, GradingAspect aspect, ModuleConfiguration moduleCfg) - Specified by:
getSuccessRatein interfaceModuleEvaluator
-