Package org.kie.dmn.validation
Interface DMNValidator.ValidatorBuilder
- All Known Implementing Classes:
DMNValidatorImpl.ValidatorBuilderImpl
- Enclosing interface:
- DMNValidator
public static interface DMNValidator.ValidatorBuilder
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptiontheseModels(File... files) Validate the models and return the results.theseModels(Reader... readers) Validate the models and return the results.theseModels(Resource... resources) Validate the models and return the results.theseModels(Definitions... models) Validate the models and return the results.A DMN Import Reader resolver, when using the Validator toDMNValidator.Validation.VALIDATE_COMPILATIONand the compilation requires to resolve non-DMN models by means of the Import's locationURI.A custom schema setup to be used forDMNValidator.Validation.VALIDATE_SCHEMA.
-
Method Details
-
usingImports
DMNValidator.ValidatorBuilder usingImports(DMNValidator.ValidatorBuilder.ValidatorImportReaderResolver r) A DMN Import Reader resolver, when using the Validator toDMNValidator.Validation.VALIDATE_COMPILATIONand the compilation requires to resolve non-DMN models by means of the Import's locationURI.- Returns:
- a reference to this, so the API can be used fluently
-
usingSchema
A custom schema setup to be used forDMNValidator.Validation.VALIDATE_SCHEMA.- Returns:
- a reference to this, so the API can be used fluently
-
theseModels
Validate the models and return the results.- Parameters:
files- the DMN models to validate- Returns:
- returns a list of messages from the validation, or an empty list otherwise.
- See Also:
-
theseModels
Validate the models and return the results.- Parameters:
readers- the DMN models to validate- Returns:
- returns a list of messages from the validation, or an empty list otherwise.
- See Also:
-
theseModels
Validate the models and return the results.- Parameters:
resources- theResourcecontaining the DMN models to validate- Returns:
- returns a list of messages from the validation, or an empty list otherwise.
- See Also:
-
theseModels
Validate the models and return the results.- Parameters:
models- the DMN models to validate- Returns:
- returns a list of messages from the validation, or an empty list otherwise.
- See Also:
-