Package com.networknt.schema
Class MessageSourceValidationMessage.BuilderSupport<S>
java.lang.Object
com.networknt.schema.ValidationMessage.BuilderSupport<S>
com.networknt.schema.MessageSourceValidationMessage.BuilderSupport<S>
- Direct Known Subclasses:
MessageSourceValidationMessage.Builder
- Enclosing class:
MessageSourceValidationMessage
public abstract static class MessageSourceValidationMessage.BuilderSupport<S>
extends ValidationMessage.BuilderSupport<S>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private Locale
private final MessageSource
private final BiConsumer
<ValidationMessage, Boolean> Fields inherited from class com.networknt.schema.ValidationMessage.BuilderSupport
arguments, code, details, evaluationPath, format, instanceLocation, instanceNode, message, messageFormatter, messageKey, messageSupplier, property, schemaLocation, schemaNode, type
-
Constructor Summary
ConstructorsConstructorDescriptionBuilderSupport
(MessageSource messageSource, Map<String, String> errorMessage, BiConsumer<ValidationMessage, Boolean> observer) -
Method Summary
Methods inherited from class com.networknt.schema.ValidationMessage.BuilderSupport
arguments, code, customMessage, details, evaluationPath, format, getArguments, getCode, getDetails, getEvaluationPath, getFormat, getInstanceLocation, getMessage, getMessageArguments, getMessageFormatter, getMessageKey, getMessageSupplier, getProperty, getSchemaLocation, getType, instanceLocation, instanceNode, message, messageFormatter, messageKey, messageSupplier, property, schemaLocation, schemaNode, self, type
-
Field Details
-
observer
-
messageSource
-
errorMessage
-
failFast
private boolean failFast -
locale
-
-
Constructor Details
-
BuilderSupport
public BuilderSupport(MessageSource messageSource, Map<String, String> errorMessage, BiConsumer<ValidationMessage, Boolean> observer)
-
-
Method Details
-
build
- Overrides:
build
in classValidationMessage.BuilderSupport<S>
-
locale
-
failFast
-