| Constructor and Description |
|---|
ExampleBase() |
| Modifier and Type | Method and Description |
|---|---|
protected static JsonNode |
loadResource(String name)
Load one resource from the current package as a
JsonNode |
protected static void |
printReport(ValidationReport report)
Pretty print a validation report to stdout
|
protected static void printReport(ValidationReport report) throws IOException
Will print whether validation succeeded. In the event of a failure, dumps validation error messages.
report - the reportIOException - failure to print to stdoutprotected static JsonNode loadResource(String name) throws IOException
JsonNodename - name of the resource (MUST start with /IOException - resource not foundCopyright © 2013. All Rights Reserved.