Package org.kie.dmn.validation
Class DMNValidatorImpl.ValidatorBuilderImpl
java.lang.Object
org.kie.dmn.validation.DMNValidatorImpl.ValidatorBuilderImpl
- All Implemented Interfaces:
DMNValidator.ValidatorBuilder
- Enclosing class:
- DMNValidatorImpl
public static class DMNValidatorImpl.ValidatorBuilderImpl
extends Object
implements DMNValidator.ValidatorBuilder
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.kie.dmn.validation.DMNValidator.ValidatorBuilder
DMNValidator.ValidatorBuilder.ValidatorImportReaderResolver -
Constructor Summary
ConstructorsConstructorDescriptionValidatorBuilderImpl(DMNValidatorImpl dmnValidatorImpl, DMNValidator.Validation[] options) -
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.
-
Constructor Details
-
ValidatorBuilderImpl
-
-
Method Details
-
usingImports
public DMNValidator.ValidatorBuilder usingImports(DMNValidator.ValidatorBuilder.ValidatorImportReaderResolver r) Description copied from interface:DMNValidator.ValidatorBuilderA 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.- Specified by:
usingImportsin interfaceDMNValidator.ValidatorBuilder- Returns:
- a reference to this, so the API can be used fluently
-
usingSchema
Description copied from interface:DMNValidator.ValidatorBuilderA custom schema setup to be used forDMNValidator.Validation.VALIDATE_SCHEMA.- Specified by:
usingSchemain interfaceDMNValidator.ValidatorBuilder- Returns:
- a reference to this, so the API can be used fluently
-
theseModels
Description copied from interface:DMNValidator.ValidatorBuilderValidate the models and return the results.- Specified by:
theseModelsin interfaceDMNValidator.ValidatorBuilder- Parameters:
files- the DMN models to validate- Returns:
- returns a list of messages from the validation, or an empty list otherwise.
- See Also:
-
theseModels
Description copied from interface:DMNValidator.ValidatorBuilderValidate the models and return the results.- Specified by:
theseModelsin interfaceDMNValidator.ValidatorBuilder- 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
Description copied from interface:DMNValidator.ValidatorBuilderValidate the models and return the results.- Specified by:
theseModelsin interfaceDMNValidator.ValidatorBuilder- Parameters:
readers- the DMN models to validate- Returns:
- returns a list of messages from the validation, or an empty list otherwise.
- See Also:
-
theseModels
Description copied from interface:DMNValidator.ValidatorBuilderValidate the models and return the results.- Specified by:
theseModelsin interfaceDMNValidator.ValidatorBuilder- Parameters:
models- the DMN models to validate- Returns:
- returns a list of messages from the validation, or an empty list otherwise.
- See Also:
-