|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fcrepo.client.utility.validate.process.SimpleValidationResults
public class SimpleValidationResults
A simple implementation of ValidationResults for use with the
ValidatorProcess. When record(ValidationResult) is called,
the result is printed to standard output.
| Constructor Summary | |
|---|---|
SimpleValidationResults(boolean verbose)
Creates an instance. |
|
| Method Summary | |
|---|---|
void |
closeResults()
Print, summarize, store, or display the accumulated results. |
void |
record(ValidationResult result)
Record a ValidationResult that is the result of validating an
object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleValidationResults(boolean verbose)
verbose - if true, all INFO level messages will be printed
in addition to WARNings and ERRORs.| Method Detail |
|---|
public void record(ValidationResult result)
ValidationResultsValidationResult that is the result of validating an
object.
record in interface ValidationResultspublic void closeResults()
ValidationResultsValidationResults.record(ValidationResult) have
been made.
closeResults in interface ValidationResults
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||