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 TypeMethodDescriptionboolean
Must callsetLevenshteinDistanceThreshold(Integer)
first if intended to use with levenshtein distance equalitygetOs()
int
int
hashCode()
boolean
isError()
void
void
setGradingAssignmentResultMapping
(GradingAspectTO gradingAssignmentResultMapping) void
setGradingSchemaRoot
(GradingResultTO gradingSchemaRoot) void
setGrajaVersion
(String grajaVersion) void
setJavaMetadata
(JavaMetadataTO javaMetadata) void
setLevenshteinDistanceThreshold
(Integer levenshteinDistance) void
void
setRecordedAtUtc
(String recordedAtUtc) void
setRecordingVariation
(int recordingVariation) void
setSampleSolution
(String sampleSolution) void
setScoreMax
(BigDecimal scoreMax) void
setTimeout
(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
-