public interface ValidationResults
ModelInstance.validate(java.util.Collection)
.Modifier and Type | Method and Description |
---|---|
int |
getErrorCount() |
Map<ModelElementInstance,List<ValidationResult>> |
getResults() |
int |
getWarinigCount() |
boolean |
hasErrors() |
void |
write(StringWriter writer,
ValidationResultFormatter printer)
Utility method to print out a summary of the validation results.
|
boolean hasErrors()
ValidationResult
of type ValidationResultType.ERROR
int getErrorCount()
ValidationResult
of type ValidationResultType.ERROR
int getWarinigCount()
ValidationResult
of type ValidationResultType.WARNING
Map<ModelElementInstance,List<ValidationResult>> getResults()
void write(StringWriter writer, ValidationResultFormatter printer)
writer
- a StringWriter
to which the result should be printedprinter
- formatter for printing elements and validation resultsCopyright © 2021. All rights reserved.