Package de.hsh.graja.core
Class Core
- java.lang.Object
-
- de.hsh.graja.core.Core
-
public class Core extends Object
The class
Core
takes anAssignment
as its input, controls the execution ofModuleRunner
s, gathersModuleRunnerResult
s, evaluates module results usingModuleEvaluator
s, and generates anAssignmentResult
with a well structured grading scheme. There is more information about the role of classes in this package in the documentation of the classGraja
.This class assumes that the student's submission is unpacked into a file system folder.
-
-
Constructor Summary
Constructors Constructor Description Core()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Result
gradeRequest(Request request, Sequence initialLeadingComments)
This method compiles the solution and runs the grader.static void
main(String[] args)
-
-
-
Method Detail
-
gradeRequest
public static Result gradeRequest(Request request, Sequence initialLeadingComments)
This method compiles the solution and runs the grader.- Parameters:
request
-- Returns:
- a result object with comments and individual assignment results. The initialLeadingComments are referenced by the new Result. It is guaranteed, that the returned object contains results for every requested assignment. On error, Results with comments are returned (but never null).
-
main
public static void main(String[] args)
-
-