Interface NodeValidatorPlugin
- All Known Implementing Classes:
TimestampValidationStrategy
public interface NodeValidatorPlugin
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
Validation context to pass to each NodeValidatorPlugin.static interface
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(Shape shape, Node value, NodeValidatorPlugin.Context context, NodeValidatorPlugin.Emitter emitter) Applies the plugin to the given shape, node value, and model.static List<NodeValidatorPlugin>
-
Field Details
-
EMPTY_STRING_ARRAY
-
-
Method Details
-
apply
void apply(Shape shape, Node value, NodeValidatorPlugin.Context context, NodeValidatorPlugin.Emitter emitter) Applies the plugin to the given shape, node value, and model.- Parameters:
shape
- Shape being checked.value
- Value being evaluated.context
- Evaluation context.emitter
- Consumer to notify of validation event locations and messages.
-
getBuiltins
- Returns:
- Gets the built-in Node validation plugins.
-