Interface ValidationResultFormatter
public interface ValidationResultFormatter
SPI which can be implemented to print out a summary of a validation result.
See
ValidationResults.write(StringWriter, ValidationResultFormatter)- Since:
- 7.6
- Author:
- Daniel Meyer
-
Method Summary
Modifier and TypeMethodDescriptionvoidformatElement(StringWriter writer, ModelElementInstance element) formats an element in the summaryvoidformatResult(StringWriter writer, ValidationResult result) formats a validation result
-
Method Details
-
formatElement
formats an element in the summary- Parameters:
writer- the writerelement- the element to write
-
formatResult
formats a validation result- Parameters:
writer- the writerresult- the result to format
-