Interface NodeValidatorPlugin
-
- All Known Implementing Classes:
TimestampValidationStrategy
public interface NodeValidatorPlugin
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description void
apply(Shape shape, Node value, Model model, java.util.function.BiConsumer<FromSourceLocation,java.lang.String> emitter)
Applies the plugin to the given shape, node value, and model.static java.util.List<NodeValidatorPlugin>
getBuiltins()
-
-
-
Method Detail
-
apply
void apply(Shape shape, Node value, Model model, java.util.function.BiConsumer<FromSourceLocation,java.lang.String> emitter)
Applies the plugin to the given shape, node value, and model.- Parameters:
shape
- Shape being checked.value
- Value being evaluated.model
- Model to traverse.emitter
- Consumer to notify of validation event locations and messages.
-
getBuiltins
static java.util.List<NodeValidatorPlugin> getBuiltins()
- Returns:
- Gets the built-in Node validation plugins.
-
-