Class ShaclSailValidationReportHelper
java.lang.Object
org.eclipse.rdf4j.sail.shacl.ShaclSailValidationReportHelper
- Since:
 - 4.0.0
 - Author:
 - Florian Kleedorfer
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionLooks for aValidationExceptionstarting with the specified throwable and working back through the cause references, and returns the validation report as aModelif one is found.Finds a validation report usinggetValidationReport(Throwable)and returns aStringcontaining the pretty-printed report.static voidFinds a validation report usinggetValidationReport(Throwable)and pretty-prints it to the specified output stream. 
- 
Constructor Details
- 
ShaclSailValidationReportHelper
public ShaclSailValidationReportHelper() 
 - 
 - 
Method Details
- 
getValidationReportAsString
Finds a validation report usinggetValidationReport(Throwable)and returns aStringcontaining the pretty-printed report.- Parameters:
 t- theThrowableto start searching for a validation report at- Returns:
 - an Optional with the pretty-printed report if one is found, empty otherwise.
 
 - 
printValidationReport
Finds a validation report usinggetValidationReport(Throwable)and pretty-prints it to the specified output stream.- Parameters:
 t- theThrowableto start searching for a validation report atout- the output stream to print to
 - 
getValidationReport
Looks for aValidationExceptionstarting with the specified throwable and working back through the cause references, and returns the validation report as aModelif one is found.- Parameters:
 t- theThrowableto start the search at- Returns:
 - an optional with the validation report, or empty.
 
 
 -