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.ERRORint getErrorCount()
ValidationResult of type ValidationResultType.ERRORint getWarinigCount()
ValidationResult of type ValidationResultType.WARNINGMap<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.