@FunctionalInterface
public interface SeverityOverride
| Modifier and Type | Method and Description |
|---|---|
Severity |
apply(ValidationEvent event)
Returns the severity to apply to the validation event.
|
static SeverityOverride |
fromMetadata(Node node)
Creates a severity override from a
Node found in the "severityOverrides" metadata of a Smithy model. |
Severity apply(ValidationEvent event)
event - Event to modify.static SeverityOverride fromMetadata(Node node)
Node found in the "severityOverrides" metadata of a Smithy model.node - Node to parse.ExpectationNotMetException - if the override node is malformed.