Class LineValidationEventFormatter
- java.lang.Object
-
- software.amazon.smithy.model.validation.LineValidationEventFormatter
-
- All Implemented Interfaces:
ValidationEventFormatter
public final class LineValidationEventFormatter extends java.lang.Object implements ValidationEventFormatter
WritesValidationEvent
objects as a single line string.
-
-
Constructor Summary
Constructors Constructor Description LineValidationEventFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
format(ValidationEvent event)
Converts the event to a string.
-
-
-
Method Detail
-
format
public java.lang.String format(ValidationEvent event)
Description copied from interface:ValidationEventFormatter
Converts the event to a string.- Specified by:
format
in interfaceValidationEventFormatter
- Parameters:
event
- Event to write as a string.- Returns:
- Returns the event as a formatted string.
-
-