public class ValidationEngineConfiguration extends Object
| Constructor and Description |
|---|
ValidationEngineConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSkippedConstraintComponent(org.apache.jena.rdf.model.Resource component) |
boolean |
getReportDetails()
Checks whether the report shall include sh:detail triples (for sh:node etc).
|
boolean |
getValidateShapes()
Should the engine validates shapes
|
int |
getValidationErrorBatch()
Maximum number of validations before returning the report.
|
boolean |
isSkippedConstraintComponent(org.apache.jena.rdf.model.Resource component)
Checks whether the engine should skip constraints of a given constraint component.
|
ValidationEngineConfiguration |
setReportDetails(boolean reportDetails)
Specifies whether the report shall include sh:detail triples where supported.
|
ValidationEngineConfiguration |
setValidateShapes(boolean validateShapes)
Sets an option for the engine to validate shapes
|
ValidationEngineConfiguration |
setValidationErrorBatch(int validationErrorBatch)
Set the maximum number of validations before returning the report.
|
public boolean getReportDetails()
public ValidationEngineConfiguration setReportDetails(boolean reportDetails)
reportDetails - true to produce sh:details, false for the defaultpublic int getValidationErrorBatch()
public ValidationEngineConfiguration setValidationErrorBatch(int validationErrorBatch)
validationErrorBatch - maximum number of validations or -1 for all validationspublic boolean getValidateShapes()
public ValidationEngineConfiguration setValidateShapes(boolean validateShapes)
validateShapes - boolean flat indicating if shapes must be validatedpublic boolean isSkippedConstraintComponent(org.apache.jena.rdf.model.Resource component)
component - the constraint componentpublic void addSkippedConstraintComponent(org.apache.jena.rdf.model.Resource component)
Copyright © 2019 TopQuadrant, Inc.. All rights reserved.