public interface DMNValidator
Modifier and Type | Interface and Description |
---|---|
static class |
DMNValidator.Validation |
static interface |
DMNValidator.ValidatorBuilder |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Release all resources associated with this DMNValidator.
|
List<org.kie.dmn.api.core.DMNMessage> |
validate(org.kie.dmn.model.api.Definitions dmnModel)
Validate the model and return the results.
|
List<org.kie.dmn.api.core.DMNMessage> |
validate(org.kie.dmn.model.api.Definitions dmnModel,
DMNValidator.Validation... options)
Validate the model and return the results.
|
List<org.kie.dmn.api.core.DMNMessage> |
validate(File xmlFile)
Validate the model and return the results.
|
List<org.kie.dmn.api.core.DMNMessage> |
validate(File xmlFile,
DMNValidator.Validation... options)
Validate the model and return the results.
|
List<org.kie.dmn.api.core.DMNMessage> |
validate(Reader reader)
Validate the model and return the results.
|
List<org.kie.dmn.api.core.DMNMessage> |
validate(Reader reader,
DMNValidator.Validation... options)
Validate the model and return the results.
|
DMNValidator.ValidatorBuilder |
validateUsing(DMNValidator.Validation... options)
Fluent interface to validate several models using the specified options.
|
List<org.kie.dmn.api.core.DMNMessage> validate(org.kie.dmn.model.api.Definitions dmnModel)
dmnModel
- the model to validateList<org.kie.dmn.api.core.DMNMessage> validate(org.kie.dmn.model.api.Definitions dmnModel, DMNValidator.Validation... options)
validate( dmnModel, VALIDATE_MODEL, VALIDATE_COMPILATION )
IMPORTANT: this method does not support VALIDATE_SCHEMA. In
order to validate the schema, please use one of the other signatures
of this method, like @{link #validate(Reader reader, Validation... options)}.dmnModel
- the model to validateoptions
- selects which validations to applyList<org.kie.dmn.api.core.DMNMessage> validate(File xmlFile)
xmlFile
- the file to validateList<org.kie.dmn.api.core.DMNMessage> validate(File xmlFile, DMNValidator.Validation... options)
validate( xmlFile, VALIDATE_MODEL, VALIDATE_COMPILATION )
xmlFile
- the model to validateoptions
- selects which validations to applyList<org.kie.dmn.api.core.DMNMessage> validate(Reader reader)
reader
- a reader for the model to validateList<org.kie.dmn.api.core.DMNMessage> validate(Reader reader, DMNValidator.Validation... options)
validate( reader, VALIDATE_MODEL, VALIDATE_COMPILATION )
reader
- the model to validateoptions
- selects which validations to applyvoid dispose()
DMNValidator.ValidatorBuilder validateUsing(DMNValidator.Validation... options)
validateUsing( VALIDATE_MODEL, VALIDATE_COMPILATION ).theseModels(reader0, reader1)
options
- selects which validations to applyCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.