|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.wpi.prc.templates.java.validator.ResultValidator
public class ResultValidator
The ResultValidator class contains project-specific code used to validate work units and spot-checks, and to select the canonical result for a work unit.
Constructor Summary | |
---|---|
ResultValidator()
|
Method Summary | |
---|---|
java.lang.String |
selectCanonicalResult(java.util.Vector<Result> results)
Selects a canonical result from a set of results. |
boolean |
validateSingleResult(Result r)
Determines whether a single result was valid. |
boolean |
validateSpotCheck(SpotCheck check)
Determines whether a spot-check was valid. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResultValidator()
Method Detail |
---|
public boolean validateSingleResult(Result r)
r
- The result to validate.
public java.lang.String selectCanonicalResult(java.util.Vector<Result> results)
results
- The set of valid results for a work unit.
public boolean validateSpotCheck(SpotCheck check)
check
- The spot-check to validate.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |