public Class<? extends Payload> payload() {
        return payloadClass;
    }
Severities for jakarta.validation.  Use it like this:

<pre>
{@code
@AssertFalse(message = "some message if not false", payload = ValidationSeverity.Warning.class)
}
</pre>
stroom-util-shared/src/main/java/stroom/util/shared/validation/ValidationSeverity.java