Class TimestampFormatPlugin
- java.lang.Object
-
- software.amazon.smithy.model.validation.node.TimestampFormatPlugin
-
- All Implemented Interfaces:
NodeValidatorPlugin
public final class TimestampFormatPlugin extends java.lang.Object implements NodeValidatorPlugin
Validates that timestamp shapes contain values that are compatible with their timestampFormat traits or contain values that are numbers or an RFC 3339 date-time production.
-
-
Constructor Summary
Constructors Constructor Description TimestampFormatPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
apply(Shape shape, Node value, ShapeIndex index)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.smithy.model.validation.node.NodeValidatorPlugin
apply
-
-
-
-
Method Detail
-
apply
public java.util.List<java.lang.String> apply(Shape shape, Node value, ShapeIndex index)
- Specified by:
apply
in interfaceNodeValidatorPlugin
-
-