Package de.hsh.graja.core.request
Class Assignment
java.lang.Object
de.hsh.graja.core.request.Assignment
-
Constructor Summary
ConstructorsConstructorDescriptionAssignment
(String assignmentId, CVVp cvvp, String grajaVersionCompatibility, String javaVersion, int maxJunitRuntimeSeconds, ModuleConfigurations moduleCfgs, GradingAspectGroup gradingScheme) -
Method Summary
Modifier and TypeMethodDescriptiondouble
getCVVp()
int
int
max. runtime of all modules in the backend.boolean
toComment
(ApplicabilitySpec applicability) toString()
-
Constructor Details
-
Assignment
public Assignment(String assignmentId, CVVp cvvp, String grajaVersionCompatibility, String javaVersion, int maxJunitRuntimeSeconds, ModuleConfigurations moduleCfgs, GradingAspectGroup gradingScheme) throws InvalidRequestException - Throws:
InvalidRequestException
-
-
Method Details
-
getAssignmentId
-
getCVVp
-
getGrajaVersionCompatibility
-
getJavaVersion
-
calcScoreMax
public double calcScoreMax() -
toString
-
toComment
-
getMaxRuntimeSeconds
public int getMaxRuntimeSeconds()max. runtime of all modules in the backend. This is 5 seconds per ither module plus the number of seconds reserved for Junit. -
getMaxJunitRuntimeSeconds
public int getMaxJunitRuntimeSeconds() -
getGradingScheme
-
getModuleConfigurations
-
isScoreFinal
public boolean isScoreFinal()
-