Package de.hsh.graja.regression.recorded
Class RegressionTestingRecordedBehaviorTO
java.lang.Object
de.hsh.graja.regression.recorded.RegressionTestingRecordedBehaviorTO
- All Implemented Interfaces:
Serializable
The domain model for regression testing recorded behavior (rtrb).
Everything referenced in here that is important regarding the actual behavior must recursively implement equals() and hashcode() for the multi sample mode to work!
Everything referenced in here that is important regarding the actual behavior must recursively implement equals() and hashcode() for the multi sample mode to work!
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRegressionTestingRecordedBehaviorTO(boolean error, Boolean timeout, String recordedAtUtc, String sampleSolution, String grajaVersion, BigDecimal scoreMax, GradingResultTO gradingSchemaRoot, GradingAspectTO gradingAssignmentResultMapping, int recordingVariation) -
Method Summary
Modifier and TypeMethodDescriptionbooleanMust callsetLevenshteinDistanceThreshold(Integer)first if intended to use with levenshtein distance equalitygetOs()intinthashCode()booleanisError()voidvoidsetGradingAssignmentResultMapping(GradingAspectTO gradingAssignmentResultMapping) voidsetGradingSchemaRoot(GradingResultTO gradingSchemaRoot) voidsetGrajaVersion(String grajaVersion) voidsetJavaMetadata(JavaMetadataTO javaMetadata) voidsetLevenshteinDistanceThreshold(Integer levenshteinDistance) voidvoidsetRecordedAtUtc(String recordedAtUtc) voidsetRecordingVariation(int recordingVariation) voidsetSampleSolution(String sampleSolution) voidsetScoreMax(BigDecimal scoreMax) voidsetTimeout(boolean timeout)
-
Constructor Details
-
RegressionTestingRecordedBehaviorTO
public RegressionTestingRecordedBehaviorTO() -
RegressionTestingRecordedBehaviorTO
public RegressionTestingRecordedBehaviorTO(boolean error, Boolean timeout, String recordedAtUtc, String sampleSolution, String grajaVersion, BigDecimal scoreMax, GradingResultTO gradingSchemaRoot, GradingAspectTO gradingAssignmentResultMapping, int recordingVariation)
-
-
Method Details
-
isError
public boolean isError() -
setError
-
isTimeout
-
setTimeout
public void setTimeout(boolean timeout) -
getRecordedAtUtc
-
setRecordedAtUtc
-
getSampleSolution
-
setSampleSolution
-
getGrajaVersion
-
setGrajaVersion
-
getGradingSchemaRoot
-
setGradingSchemaRoot
-
getGradingAssignmentResultMapping
-
setGradingAssignmentResultMapping
-
getOs
-
setOs
-
getJavaMetadata
-
setJavaMetadata
-
getRecordingVariation
public int getRecordingVariation() -
setRecordingVariation
public void setRecordingVariation(int recordingVariation) -
getScoreMax
-
setScoreMax
-
getOverallSuccessRate
-
hashCode
public int hashCode() -
equals
Must callsetLevenshteinDistanceThreshold(Integer)first if intended to use with levenshtein distance equality -
setLevenshteinDistanceThreshold
-